diff options
author | Niklas Cassel <cassel@kernel.org> | 2024-07-03 20:44:22 +0200 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-07-04 11:52:32 +0200 |
commit | 1dd63a6b573ffb989ca618e60b6469f885454606 (patch) | |
tree | 7f39c301d59bad4fcd55c901c5a77586b56fa1ff /mm | |
parent | 6933eb8e50a3e4dc129095cb795261454476f111 (diff) | |
download | linux-1dd63a6b573ffb989ca618e60b6469f885454606.tar.gz linux-1dd63a6b573ffb989ca618e60b6469f885454606.tar.bz2 linux-1dd63a6b573ffb989ca618e60b6469f885454606.zip |
ata: libata-core: Remove local_port_no struct member
ap->local_port_no is simply ap->port_no + 1.
Since ap->local_port_no can be derived from ap->port_no, there is no need
for the ap->local_port_no struct member, so remove ap->local_port_no.
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-16-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions