[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15498a73-a02d-2568-4d85-9278fbba8ab4@acm.org>
Date: Wed, 6 May 2020 08:43:10 -0700
From: Bart Van Assche <bvanassche@....org>
To: Jason Yan <yanaijie@...wei.com>, njavali@...vell.com,
GR-QLogic-Storage-Upstream@...vell.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, hmadhani@...vell.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: qla2xxx: make qlafx00_process_aen() return void
On 2020-05-05 23:17, 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
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists