[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 8 Sep 2020 22:09:22 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jason Yan <yanaijie@...wei.com>, artur.paszkiewicz@...el.com,
intel-linux-scu@...el.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: isci: remove set but not used 'index'
On Thu, 27 Aug 2020 20:58:51 +0800, Jason Yan wrote:
> This addresses the following gcc warning with "make W=1":
>
> drivers/scsi/isci/host.c: In function ‘sci_controller_complete_io’:
> drivers/scsi/isci/host.c:2674:6: warning: variable ‘index’ set but not
> used [-Wunused-but-set-variable]
> 2674 | u16 index;
> | ^~~~~
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: isci: Remove set but not used 'index'
https://git.kernel.org/mkp/scsi/c/7149e0cb31c5
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists