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: altera: tse: remove mac_an_restart() function

The mac_an_restart() method will only be called if the driver sets
legacy_pre_march2020, which the altera tse driver does not do.
Therefore, providing a stub is unnecessary.

Fixes: fef2998203e1 ("net: altera: tse: convert to phylink")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Russell King (Oracle) and committed by
David S. Miller
8b6b7c11 dbb99d78

-5
-5
drivers/net/ethernet/altera/altera_tse_main.c
··· 1036 1036 .ndo_validate_addr = eth_validate_addr, 1037 1037 }; 1038 1038 1039 - static void alt_tse_mac_an_restart(struct phylink_config *config) 1040 - { 1041 - } 1042 - 1043 1039 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, 1044 1040 const struct phylink_link_state *state) 1045 1041 { ··· 1092 1096 } 1093 1097 1094 1098 static const struct phylink_mac_ops alt_tse_phylink_ops = { 1095 - .mac_an_restart = alt_tse_mac_an_restart, 1096 1099 .mac_config = alt_tse_mac_config, 1097 1100 .mac_link_down = alt_tse_mac_link_down, 1098 1101 .mac_link_up = alt_tse_mac_link_up,