linux/drivers/scsi/libfc
Colin Ian King bc2e1299a8 scsi: libfc: remove redundant initialization of 'disc'
Pointer disc is being intializated a value that is never read and then
re-assigned the same value later on, hence the initialization is
redundant and can be removed.

Cleans up clang warning:
drivers/scsi/libfc/fc_disc.c:734:18: warning: Value stored to 'disc'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-02-13 21:37:01 -05:00
..
fc_disc.c scsi: libfc: remove redundant initialization of 'disc' 2018-02-13 21:37:01 -05:00
fc_elsct.c
fc_exch.c
fc_fcp.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
fc_frame.c
fc_libfc.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
fc_libfc.h
fc_lport.c scsi: libfc: fix ELS request handling 2017-11-28 23:59:09 -05:00
fc_npiv.c
fc_rport.c scsi: libfc: fix a deadlock in fc_rport_work 2017-10-06 14:58:22 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00