]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: message: fusion: Remove unused variable retval
authorAlexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Thu, 17 Mar 2022 03:03:25 +0000 (04:03 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:26:32 +0000 (23:26 -0400)
commitda8a34b400de879ca07a06df9e87af7b8551d235
tree5bc2ba7f3e431093964b3b7982022bfab2e09a6d
parentb45e51ab31b46d24e2a65d8f27ea6ee0dfc47b2b
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: Alexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptctl.c