scsi: iscsi_tcp: Remove a set-but-not-used variable
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 20:46:43 +0000 (13:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
commit052d8a7cbfbf90489ed83ab7d65c9559b799b97b
tree1fdfb79f6518af58d657bb6d127bc16a0b17e840
parentab17241cef42ac434dcb544ae69e3fc4d451927f
scsi: iscsi_tcp: Remove a set-but-not-used variable

This patch avoids that gcc reports the following warning when
building with W=1:

drivers/scsi/iscsi_tcp.c:166:24: warning: variable ?session? set but not used [-Wunused-but-set-variable]

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Lee Duncan <lduncan@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/iscsi_tcp.c