diff options
| author | Damien Le Moal <[email protected]> | 2025-07-25 01:58:15 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-07-25 13:03:56 +0000 |
| commit | 0dd03570512a305bc44ac9c8326da95dd8fc3a1d (patch) | |
| tree | 2f133691915453f6e4e98d1beb4cbe33e5f00c90 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | scsi: libsas: Refactor dev_is_sata() (diff) | |
| download | kernel-0dd03570512a305bc44ac9c8326da95dd8fc3a1d.tar.gz kernel-0dd03570512a305bc44ac9c8326da95dd8fc3a1d.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Jason Yan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
