1
0
Fork 0
alistair23-linux/drivers/scsi/isci
Colin Ian King 2976fbb6a7 scsi: isci: remove redundant initialization to 'bit'
Variable bit is initialized with a value that is never read and is being
updated immediately after the initialization, hence the initialization
is redundant and can be removed.

Cleans up clang warning:
drivers/scsi/isci/host.c:2769:8: warning: Value stored to 'bit' during
its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-02-13 21:37:06 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
host.c scsi: isci: remove redundant initialization to 'bit' 2018-02-13 21:37:06 -05:00
host.h scsi: isci: switch to pci_alloc_irq_vectors 2016-12-01 08:36:17 -05:00
init.c scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
isci.h scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
phy.c scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
phy.h
port.c scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
port.h
port_config.c scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
probe_roms.c scsi: isci: Add a missing call to pci_unmap_biosrom 2016-11-29 11:50:21 -05:00
probe_roms.h
registers.h scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
remote_device.c
remote_device.h
remote_node_context.c scsi: isci: avoid array subscript warning 2016-11-29 11:46:08 -05:00
remote_node_context.h
remote_node_table.c
remote_node_table.h
request.c scsi: isci: fix typo in function names 2017-07-12 17:09:57 -04:00
request.h
sas.h
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c
task.h
unsolicited_frame_control.c
unsolicited_frame_control.h