diff options
author | Frank Wunderlich <frank-w@public-files.de> | 2022-06-10 19:05:39 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-15 07:35:16 +0200 |
commit | 1f9a6abecf538cc73635f6082677a2f4dc9c89a4 (patch) | |
tree | d0a55aaa1c77b15b24c842694b006c5d8841cdd5 /mm/z3fold.c | |
parent | net: dsa: mt7530: rework mt753[01]_setup (diff) | |
download | linux-1f9a6abecf538cc73635f6082677a2f4dc9c89a4.tar.xz linux-1f9a6abecf538cc73635f6082677a2f4dc9c89a4.zip |
net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constant
Replace last occurences of hardcoded cpu-port by cpu_dp member of
dsa_port struct.
Now the constant can be dropped.
Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions