Searched hist:"8 a318fe1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 8a318fe1 Thu Jul 09 09:25:25 CDT 2015 Bart Van Assche <bart.vanassche@sandisk.com> 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> 8a318fe1 Thu Jul 09 09:25:25 CDT 2015 Bart Van Assche <bart.vanassche@sandisk.com> 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>
|