scsi: csiostor: remove redundant assignment to pointer 'ln'
authorColin Ian King <colin.king@canonical.com>
Wed, 24 Jan 2018 14:58:01 +0000 (14:58 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 Jan 2018 02:24:07 +0000 (21:24 -0500)
commit52797a1d4b39716ddd300a3c463ffaf1330600a0
tree3e5cc1b2295da923e8570e4bbf81511383b378e6
parent84af7e8b895088d89f246d6b0f82717fafdebf61
scsi: csiostor: remove redundant assignment to pointer 'ln'

The pointer ln is assigned a value that is never read, it is re-assigned
a new value in the list_for_each loop hence the initialization is
redundant and can be removed.

Cleans up clang warning:
drivers/scsi/csiostor/csio_lnode.c:117:21: warning: Value stored to 'ln'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_lnode.c