diff options
author | Niklas Cassel <cassel@kernel.org> | 2024-07-03 20:44:21 +0200 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-07-04 11:52:32 +0200 |
commit | 6933eb8e50a3e4dc129095cb795261454476f111 (patch) | |
tree | 47601dbc802692fe650decf05763d9bc312c41fb /drivers/peci | |
parent | ata: libata-core: Remove support for decreasing the number of ports (diff) | |
download | linux-6933eb8e50a3e4dc129095cb795261454476f111.tar.xz linux-6933eb8e50a3e4dc129095cb795261454476f111.zip |
ata: libata-sata: Remove superfluous assignment in ata_sas_port_alloc()
ata_sas_port_alloc() calls ata_port_alloc() which already assigns ap->lock
so there is no need for ata_sas_port_alloc() to assign it again.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240703184418.723066-15-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/peci')
0 files changed, 0 insertions, 0 deletions