Commit 0506814
scsi: lpfc: Remove unnecessary zero return code assignment in lpfc_sli4_hba_setup
In order to enter the !rc if statement block in question, rc had to have
been zero to begin with. Thus, the rc = 0 assignment is unnecessary and
can be removed.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20231009161812.97232-2-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 0bb80ec commit 0506814
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8571 | 8571 | | |
8572 | 8572 | | |
8573 | 8573 | | |
8574 | | - | |
| 8574 | + | |
8575 | 8575 | | |
8576 | 8576 | | |
8577 | 8577 | | |
8578 | | - | |
8579 | | - | |
8580 | 8578 | | |
8581 | 8579 | | |
8582 | 8580 | | |
| |||
0 commit comments