Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: dpt_i2o: remove set but not used 'pHba' | Date | Tue, 8 Sep 2020 22:09:21 -0400 |
| |
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
| |