diff options
author | James Smart <jsmart2021@gmail.com> | 2021-04-11 18:31:22 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-13 01:39:14 -0400 |
commit | b62232ba8caccaf1954e197058104a6478fac1af (patch) | |
tree | 940028d25a50e74f269923acb410d289ae7ee8bd /drivers/scsi/lpfc/lpfc_nportdisc.c | |
parent | d3de0d11a219f32b185d525cca2568817e22d3a1 (diff) | |
download | lwn-b62232ba8caccaf1954e197058104a6478fac1af.tar.gz lwn-b62232ba8caccaf1954e197058104a6478fac1af.zip |
scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
SLI-4 does not contain a PORT_CAPABILITIES mailbox command (only SLI-3
does, and SLI-3 doesn't use it), yet there are SLI-4 code paths that have
code to issue the command. The command will always fail.
Remove the code for the mailbox command and leave only the resulting
"failure path" logic.
Link: https://lore.kernel.org/r/20210412013127.2387-12-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
0 files changed, 0 insertions, 0 deletions