aic94xx: Skip reading user settings if flash is not found
authorHannes Reinecke <hare@suse.de>
Mon, 6 Jul 2015 11:07:58 +0000 (13:07 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 28 Aug 2015 20:14:54 +0000 (13:14 -0700)
commit36dd5acd196574d41de3e81d8264df475bbb7123
tree1a21dec2756280b529c3f51a4f9bb7e4cfa7938b
parente35d7f27fbd51a09a41a5439e39f22a3d102c00b
aic94xx: Skip reading user settings if flash is not found

If no user settings are found it's pointless trying to
read them from flash. So skip that step.
This also fixes a compilation warning about uninitialized variables in
aic94xx.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/aic94xx/aic94xx_sds.c