[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <158890633245.6466.6334279063078587636.b4-ty@oracle.com>
Date: Thu, 7 May 2020 22:54:32 -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,
GR-QLogic-Storage-Upstream@...vell.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, bvanassche@....org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH] scsi: qla2xxx: make qlafx00_process_aen() return void
On Wed, 6 May 2020 14:17:57 +0800, Jason Yan wrote:
> No other functions use the return value of qlafx00_process_aen() and the
> return value is always 0 now. Make it return void. This fixes the
> following coccicheck warning:
>
> drivers/scsi/qla2xxx/qla_mr.c:1716:5-9: Unneeded variable: "rval".
> Return "0" on line 1768
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: qla2xxx: Make qlafx00_process_aen() return void
https://git.kernel.org/mkp/scsi/c/88bfdf565cbe
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists