Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: phylink: Remove unused function pointer from phylink structure

From what I can tell the .get_fixed_state pointer in the phylink structure
hasn't been used since commit 5c05c1dbb177 ("net: phylink, dsa: eliminate
phylink_fixed_state_cb()") . Since I can't find any users for it we might
as well just drop the pointer.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/174240634772.1745174.5690351737682751849.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alexander Duyck and committed by
Jakub Kicinski
c3ad9d9e f1fce08e

-2
-2
drivers/net/phy/phylink.c
··· 72 72 struct gpio_desc *link_gpio; 73 73 unsigned int link_irq; 74 74 struct timer_list link_poll; 75 - void (*get_fixed_state)(struct net_device *dev, 76 - struct phylink_link_state *s); 77 75 78 76 struct mutex state_mutex; 79 77 struct phylink_link_state phy_state;