Re: [PATCH] message: fusion: Remove unused variable retval

From: Martin K. Petersen
Date: Thu May 05 2022 - 20:16:11 EST


On Thu, 17 Mar 2022 04:03:25 +0100, Alexander Vorwerk wrote:

> 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.
>
> [...]

Applied to 5.19/scsi-queue, thanks!

[1/1] message: fusion: Remove unused variable retval
https://git.kernel.org/mkp/scsi/c/ce781c3f05cd

--
Martin K. Petersen Oracle Linux Engineering