scsi: libfc: remove redundant initialization of 'disc'
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Feb 2018 14:21:57 +0000 (14:21 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Feb 2018 02:37:01 +0000 (21:37 -0500)
commitbc2e1299a828a13a44c3140a3c0a183c87872606
tree5bc9eba8a7f895f35b83beb5557234709a12376d
parent8d6febb0ccac88261fd50d425fceeca215551f11
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>
drivers/scsi/libfc/fc_disc.c