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