commit | b2ec76c5926438bda26b0e316246ae0e79bc810a | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Tue Jun 25 11:27:29 2013 -0400 |
committer | James Bottomley <JBottomley@Parallels.com> | Mon Jul 08 17:33:47 2013 +0100 |
tree | 32040fb98406afdac9cf18a38ec63f1156e8d346 | |
parent | 6ec6f9094a76aa9e732ede2add6cf32d0c2206e3 [diff] |
[SCSI] qla2xxx: Fix qla2xxx_check_risc_status(). Change the 'rval' variable from QLA_FUNCTION_TIMEOUT into QLA_SUCCESS before starting a loop that is only executed if rval is initialized to QLA_SUCCESS. Coverity reported that loop as "dead code". Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>