[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <158777063304.4076.1514687099923506496.b4-ty@oracle.com>
Date: Mon, 27 Apr 2020 16:21:22 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-kernel@...r.kernel.org, sebaddel@...co.com,
jejb@...ux.ibm.com, linux-scsi@...r.kernel.org, kartilak@...co.com,
Jason Yan <yanaijie@...wei.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] scsi: snic: make snic_io_exch_ver_cmpl_handler() void
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
Powered by blists - more mailing lists