Skip to content
Commit ce781c3f authored by Alexander Vorwerk's avatar Alexander Vorwerk Committed by Martin K. Petersen
Browse files

scsi: message: fusion: Remove unused variable retval

The following warning showed up when compiling with W=1.

drivers/message/fusion/mptctl.c: In function ‘mptctl_hp_hostinfo’:
drivers/message/fusion/mptctl.c:2337:8: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
  int   retval;

Fixing by removing the variable.

Link: https://lore.kernel.org/r/20220317030325.30526-1-alexander.vorwerk@stud.uni-goettingen.de


Signed-off-by: default avatarAlexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8c36b054
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment