diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-08-27 20:58:51 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-01 22:16:14 -0400 |
commit | 7149e0cb31c5d5db35e71d2c4ce57b6053b5855e (patch) | |
tree | 6a844adfd97554b9b069005b666d2a265a806335 /lib/irq_poll.c | |
parent | e34ce005a1773ebea09f702e0b4a37283afcf934 (diff) | |
download | linux-7149e0cb31c5d5db35e71d2c4ce57b6053b5855e.tar.gz linux-7149e0cb31c5d5db35e71d2c4ce57b6053b5855e.tar.bz2 linux-7149e0cb31c5d5db35e71d2c4ce57b6053b5855e.zip |
scsi: isci: Remove set but not used 'index'
This addresses the following gcc warning with "make W=1":
drivers/scsi/isci/host.c: In function ‘sci_controller_complete_io’:
drivers/scsi/isci/host.c:2674:6: warning: variable ‘index’ set but not
used [-Wunused-but-set-variable]
2674 | u16 index;
| ^~~~~
Link: https://lore.kernel.org/r/20200827125851.428071-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 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions