diff options
author | Quinn Tran <[email protected]> | 2024-07-10 22:40:55 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-07-10 22:44:10 -0400 |
commit | beafd692461443e0fb1d61aa56886bf85ef6f5e4 (patch) | |
tree | 44a4d9e60d08bf91dbd4a06693993f77be0c0110 /lib/memory-notifier-error-inject.c | |
parent | 348744f27a35e087acc9378bf53537fbfb072775 (diff) |
scsi: qla2xxx: Reduce fabric scan duplicate code
For fabric scan, current code uses switch scan opcode and flags as the
method to iterate through different commands to carry out the process.
This makes it hard to read. This patch convert those opcode and flags into
steps. In addition, this help reduce some duplicate code.
Consolidate routines that handle GPNFT & GNNFT.
Cc: [email protected]
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions