[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 8 Sep 2020 22:09:23 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: MPT-FusionLinux.pdl@...adcom.com, sathya.prakash@...adcom.com,
sreekanth.reddy@...adcom.com, Jason Yan <yanaijie@...wei.com>,
suganath-prabu.subramani@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] scsi: mptscsih: remove set but not used 'timeleft'
On Thu, 27 Aug 2020 20:59:25 +0800, Jason Yan wrote:
> This addresses the following gcc warning with "make W=1":
>
> drivers/message/fusion/mptscsih.c: In function ‘mptscsih_IssueTaskMgmt’:
> drivers/message/fusion/mptscsih.c:1519:17: warning: variable ‘timeleft’
> set but not used [-Wunused-but-set-variable]
> 1519 | unsigned long timeleft;
> | ^~~~~~~~
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: mptscsih: Remove set but not used 'timeleft'
https://git.kernel.org/mkp/scsi/c/bef7afbf3bb6
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists