From: Bart Van Assche Date: Tue, 25 Jun 2013 15:27:29 +0000 (-0400) Subject: [SCSI] qla2xxx: Fix qla2xxx_check_risc_status(). X-Git-Tag: v3.11-rc1~6^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ec76c5926438bda26b0e316246ae0e79bc810a;p=pandora-kernel.git [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 Signed-off-by: Saurav Kashyap Signed-off-by: James Bottomley --- Reading git-diff-tree failed