]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: mv88e6xxx: remove chip->evcap_config
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 11 Sep 2025 10:46:38 +0000 (11:46 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 18:56:23 +0000 (11:56 -0700)
commitae4c94981683e39f75f202feedc300da7a545209
tree3e5c3d4d7945b71e7fd385eb71f362fc41cc8722
parent578c1eb9c541ba8843bac324e3e5c092595d7514
net: dsa: mv88e6xxx: remove chip->evcap_config

evcap_config is only read and written in mv88e6352_config_eventcap(),
so it makes little sense to store it in the global chip struct. Make
it a local variable instead.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1uwep4-00000004ikD-1ZEh@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/ptp.c