]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Remove dead code
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:25:25 +0000 (07:25 -0700)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 21:38:42 +0000 (17:38 -0400)
commit9dbe5533d8a447b03774187761ba8f9262716b82
tree25f04ab287ee98a310420f46d522c2544a13d0d8
parent422c30ec3de3c38f8aa82c524bfb6a925a7678b2
qla2xxx: Remove dead code

Orabug: 21946579

The "return QLA_SUCCESS" statement just above the "fw_load_failed"
label cannot be reached, hence remove it. Additionally remove the
"else" keyword since the code block below the if-statement ends
with a return statement.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_nx.c