qla4xxx: Fix smatch warning in func qla4xxx_get_ep_param
authorAdheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Thu, 10 Apr 2014 01:12:27 +0000 (21:12 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:12:20 +0000 (19:12 +0200)
commit73597bdd8326b2c8a68cd046fd2ac338982cebf1
tree8a7b3abe8fd9a4b00787ff17839386c665a6560e
parentf65241e7294e344f4641131000ea88e3d70fa550
qla4xxx: Fix smatch warning in func qla4xxx_get_ep_param

Fix following smatch warning:-
 drivers/scsi/qla4xxx/ql4_os.c:1752 qla4xxx_get_ep_param() warn: variable dereferenced before check 'qla_ep' (see line 1745)

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla4xxx/ql4_os.c