diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-13 09:46:25 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-15 22:01:57 +0200 |
commit | c6e2f4bd794a3b745a02043428c7f9c43b628192 (patch) | |
tree | 702715f6bea5f83c907202a6a087e4d41ec75fe9 /ipc/ipc_sysctl.c | |
parent | scsi: qedf: Demote obvious misuse of kerneldoc to standard comment blocks (diff) | |
download | linux-c6e2f4bd794a3b745a02043428c7f9c43b628192.tar.xz linux-c6e2f4bd794a3b745a02043428c7f9c43b628192.zip |
scsi: qedf: Remove set but not checked variable 'tmp'
Looks like the return value of readw() has never been checked.
Fixes the following W=1 kernel build warning(s):
drivers/scsi/qedf/qedf_main.c: In function ‘__qedf_probe’:
drivers/scsi/qedf/qedf_main.c:3203:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
Link: https://lore.kernel.org/r/20200713074645.126138-10-lee.jones@linaro.org
Cc: QLogic-Storage-Upstream@cavium.com
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions