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

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