forked from Minki/linux
2eab3eb043
In _config_request(), the variable issue_reset is set using the macro mpt3sas_check_cmd_timeout() but otherwise unused, causing a compiler warning when compiling with W=1. Avoid this warning by removing this variable, using the function mpt3sas_base_check_cmd_timeout() directly instead of the mpt3sas_check_cmd_timeout() macro. Link: https://lore.kernel.org/r/20200706123356.452135-1-damien.lemoal@wdc.com Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
mpi | ||
Kconfig | ||
Makefile | ||
mpt3sas_base.c | ||
mpt3sas_base.h | ||
mpt3sas_config.c | ||
mpt3sas_ctl.c | ||
mpt3sas_ctl.h | ||
mpt3sas_debug.h | ||
mpt3sas_debugfs.c | ||
mpt3sas_scsih.c | ||
mpt3sas_transport.c | ||
mpt3sas_trigger_diag.c | ||
mpt3sas_trigger_diag.h | ||
mpt3sas_warpdrive.c |