]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Remove dead code
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:25:25 +0000 (07:25 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 17:45:02 +0000 (10:45 -0700)
commit472a203106625a05f3561b0ba2e8a388a014834d
treeb2615094a6a97db52bf34fb7b3c7d9dc3ea54415
parentb5e95ea47eb77d4cc3688dcf698994e9e2d33692
qla2xxx: Remove dead code

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>
drivers/scsi/qla2xxx/qla_nx.c