diff options
| author | Bart Van Assche <[email protected]> | 2013-06-25 15:27:29 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2013-07-08 16:33:47 +0000 |
| commit | b2ec76c5926438bda26b0e316246ae0e79bc810a (patch) | |
| tree | 32040fb98406afdac9cf18a38ec63f1156e8d346 /drivers/scsi/mpt3sas/mpi/mpi2_init.h | |
| parent | [SCSI] qla2xxx: Help Coverity with analyzing ct_sns_pkt initialization. (diff) | |
| download | kernel-b2ec76c5926438bda26b0e316246ae0e79bc810a.tar.gz kernel-b2ec76c5926438bda26b0e316246ae0e79bc810a.zip | |
[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 <[email protected]>
Signed-off-by: Saurav Kashyap <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions
