scsi: qedf: Fix lport may be used uninitialized warning
authorSaurav Kashyap <skashyap@marvell.com>
Tue, 26 Mar 2019 07:38:57 +0000 (00:38 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Mar 2019 01:54:53 +0000 (21:54 -0400)
commitefc8fe9b6cab7be8043006c5cdeb8e37b4b52df3
tree6ed122955857b326d7bc1c4e3c651e139158e038
parentfe2043d19e4a10fd697756ca6edf0edc1c0392ef
scsi: qedf: Fix lport may be used uninitialized warning

 - lport was getting used without initialization, initialize it to fix a
   warning.

Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_io.c