Repository navigation
Commit 7149e0c
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>1 parent e34ce00 commit 7149e0c
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2671 | 2671 | | |
2672 | 2672 | | |
2673 | 2673 | | |
2674 | | - | |
2675 | 2674 | | |
2676 | 2675 | | |
2677 | 2676 | | |
| |||
2682 | 2681 | | |
2683 | 2682 | | |
2684 | 2683 | | |
2685 | | - | |
2686 | 2684 | | |
2687 | 2685 | | |
2688 | 2686 | | |
| |||
0 commit comments