Commit 1dd63a6
committed
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>1 parent 6933eb8 commit 1dd63a6
3 files changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5471 | 5471 | | |
5472 | 5472 | | |
5473 | 5473 | | |
5474 | | - | |
5475 | 5474 | | |
5476 | 5475 | | |
5477 | 5476 | | |
| |||
5909 | 5908 | | |
5910 | 5909 | | |
5911 | 5910 | | |
5912 | | - | |
| 5911 | + | |
5913 | 5912 | | |
5914 | | - | |
5915 | | - | |
5916 | 5913 | | |
5917 | 5914 | | |
5918 | 5915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
818 | 817 | | |
819 | 818 | | |
820 | 819 | | |
| |||
0 commit comments