diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-08-27 20:59:25 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-01 22:16:46 -0400 |
commit | bef7afbf3bb64443530170c0712060e11bea27e7 (patch) | |
tree | 51e8c227a32268dfc09c91c3401f6be183aa9ed1 /net/rose/rose_route.c | |
parent | 7149e0cb31c5d5db35e71d2c4ce57b6053b5855e (diff) | |
download | linux-bef7afbf3bb64443530170c0712060e11bea27e7.tar.gz linux-bef7afbf3bb64443530170c0712060e11bea27e7.tar.bz2 linux-bef7afbf3bb64443530170c0712060e11bea27e7.zip |
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>
Diffstat (limited to 'net/rose/rose_route.c')
0 files changed, 0 insertions, 0 deletions