diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-01-30 13:48:38 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-26 21:37:26 -0500 |
commit | a5fe98eb8f630f3ad3d1d5c16374621e8c0cd702 (patch) | |
tree | 7756c27d9bad6a5bfd413c83e645eb333ad4ba7c /net | |
parent | 4f53138fffc2b18396859aa4ff3e7ef2b0839c2b (diff) | |
download | linux-stable-a5fe98eb8f630f3ad3d1d5c16374621e8c0cd702.tar.gz linux-stable-a5fe98eb8f630f3ad3d1d5c16374621e8c0cd702.tar.bz2 linux-stable-a5fe98eb8f630f3ad3d1d5c16374621e8c0cd702.zip |
scsi: scsi_debug: Reduce code duplication
All VPD pages have the page code in byte one. Reduce code duplication by
storing the VPD page code once.
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240130214911.1863909-13-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions