[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159961731706.5787.582180402400049720.b4-ty@oracle.com>
Date: Tue, 8 Sep 2020 22:09:21 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: aacraid@...rosemi.com, hare@...e.de,
Jason Yan <yanaijie@...wei.com>, linux-scsi@...r.kernel.org,
jejb@...ux.ibm.com, linux-kernel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] scsi: dpt_i2o: remove set but not used 'pHba'
On Thu, 27 Aug 2020 20:58:12 +0800, Jason Yan wrote:
> This addresses the following gcc warning with "make W=1":
>
> drivers/scsi/dpt_i2o.c: In function ‘adpt_slave_configure’:
> drivers/scsi/dpt_i2o.c:411:12: warning: variable ‘pHba’ set but not used
> [-Wunused-but-set-variable]
> 411 | adpt_hba* pHba;
> | ^~~~
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: dpt_i2o: Remove set but not used 'pHba'
https://git.kernel.org/mkp/scsi/c/e34ce005a177
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists