scsi: mptscsih: Remove set but not used 'timeleft'
authorJason Yan <yanaijie@huawei.com>
Thu, 27 Aug 2020 12:59:25 +0000 (20:59 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Sep 2020 02:16:46 +0000 (22:16 -0400)
commitbef7afbf3bb64443530170c0712060e11bea27e7
tree51e8c227a32268dfc09c91c3401f6be183aa9ed1
parent7149e0cb31c5d5db35e71d2c4ce57b6053b5855e
scsi: mptscsih: Remove set but not used 'timeleft'

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;
      |                 ^~~~~~~~

Link: https://lore.kernel.org/r/20200827125925.428357-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptscsih.c