[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <158890633244.6466.17502687618100970580.b4-ty@oracle.com>
Date: Thu, 7 May 2020 22:54:31 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: jejb@...ux.ibm.com, hmadhani@...vell.com,
Jason Yan <yanaijie@...wei.com>, njavali@...vell.com,
joe.carnuccio@...ium.com, GR-QLogic-Storage-Upstream@...vell.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH] scsi: qla2xxx: Make qla_set_ini_mode() return void
On Wed, 29 Apr 2020 22:09:52 +0800, Jason Yan wrote:
> The return value is not used by the caller and the local variable 'rc'
> is not needed. So make qla_set_ini_mode() return void and remove 'rc'.
> This also fixes the following coccicheck warning:
>
> drivers/scsi/qla2xxx/qla_attr.c:1906:5-7: Unneeded variable: "rc".
> Return "0" on line 2180
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: qla2xxx: Make qla_set_ini_mode() return void
https://git.kernel.org/mkp/scsi/c/1b007f96f9e0
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists