Commit 5a00dfc
scsi: lpfc: Simplify error handling for failed lpfc_get_sli4_parameters cmd
There are unnecessary checks on an HBA's interface type and family before
erroring out a failed lpfc_get_sli4_parameters mailbox command. Simplify
the error handling by logging a message and proceeding to memory free
labels.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250618192138.124116-7-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 6b61ec3 commit 5a00dfc
1 file changed
Lines changed: 5 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7919 | 7919 | | |
7920 | 7920 | | |
7921 | 7921 | | |
7922 | | - | |
7923 | | - | |
7924 | 7922 | | |
7925 | 7923 | | |
7926 | 7924 | | |
| |||
8180 | 8178 | | |
8181 | 8179 | | |
8182 | 8180 | | |
8183 | | - | |
8184 | | - | |
8185 | | - | |
8186 | | - | |
8187 | | - | |
8188 | | - | |
8189 | | - | |
8190 | | - | |
8191 | | - | |
8192 | | - | |
8193 | | - | |
8194 | | - | |
8195 | | - | |
8196 | | - | |
8197 | | - | |
8198 | | - | |
8199 | | - | |
8200 | | - | |
8201 | | - | |
8202 | | - | |
8203 | | - | |
8204 | | - | |
| 8181 | + | |
| 8182 | + | |
| 8183 | + | |
| 8184 | + | |
| 8185 | + | |
8205 | 8186 | | |
8206 | 8187 | | |
8207 | 8188 | | |
| |||
0 commit comments