Re: [PATCH] scsi: snic: make snic_io_exch_ver_cmpl_handler() void
From: Martin K. Petersen
Date: Mon Apr 27 2020 - 16:23:45 EST
On Sat, 18 Apr 2020 15:06:15 +0800, Jason Yan wrote:
> This function do not need a return value and no users use it's return
> value. So we can make it void.
>
> This also fixes the coccicheck warning:
>
> drivers/scsi/snic/snic_ctl.c:163:5-8: Unneeded variable: "ret". Return
> "0" on line 228
>
> [...]
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: snic: Make snic_io_exch_ver_cmpl_handler() return void
https://git.kernel.org/mkp/scsi/c/6942d531e2d2
--
Martin K. Petersen Oracle Linux Engineering