[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq11r9z1nke.fsf@ca-mkp.ca.oracle.com>
Date: Fri, 21 May 2021 22:59:03 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: njavali@...vell.com, GR-QLogic-Storage-Upstream@...vell.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: qla2xxx: Remove redundant assignment to rval
Jiapeng,
> Variable rval is set to QLA_SUCCESS, but this value is never read as
> it is overwritten later on, hence it is a redundant assignment and
> can be removed.
Applied to 5.14/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists