lkml.org 
[lkml]   [2020]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: dpt_i2o: remove set but not used 'pHba'
Date
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

\
 
 \ /
  Last update: 2020-09-09 04:12    [W:0.030 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site