[SCSI] qla4xxx: fix compilation warning
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Mon, 9 Aug 2010 12:14:07 +0000 (05:14 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 11 Aug 2010 04:59:01 +0000 (00:59 -0400)
commit3c3e210877e89aa3bfbda22551876986c035c433
treeb1f5c7d5234fbe4e095d5b72ed0de81e9cfca153
parent67110dfd45442e70753c575cf0509eaed237b749
[SCSI] qla4xxx: fix compilation warning

Fix following warning:

drivers/scsi/qla4xxx/ql4_nx.c: In function 'qla4_8xxx_get_flash_info':
drivers/scsi/qla4xxx/ql4_nx.c:1952: warning: 'mid' may be used uninitialized in this function
drivers/scsi/qla4xxx/ql4_nx.c:1952: note: 'mid' was declared here
drivers/scsi/qla4xxx/ql4_nx.c:1952: warning: 'fid' may be used uninitialized in this function
drivers/scsi/qla4xxx/ql4_nx.c:1952: note: 'fid' was declared here

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_nx.c