summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-07-25 10:58:15 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2025-07-25 09:03:56 -0400
commit0dd03570512a305bc44ac9c8326da95dd8fc3a1d (patch)
tree2f133691915453f6e4e98d1beb4cbe33e5f00c90 /scripts/lib/kdoc/kdoc_files.py
parent54091eee08acebfb5e971611c3f189e7577a1058 (diff)
scsi: libsas: Simplify sas_ata_wait_eh()
Simplify the code of sas_ata_wait_eh(), removing the local variable ap for the pointer to the device ata_port structure. The test using dev_is_sata() is also removed as all call sites of this function check if the device is a SATA one before calling this function. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20250725015818.171252-3-dlemoal@kernel.org Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions