aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorWei Fang <[email protected]>2023-07-18 09:09:27 +0000
committerJakub Kicinski <[email protected]>2023-07-20 03:59:16 +0000
commit36bde9c1accb8f7aa908b9c04c0769251629e6fd (patch)
tree0a949ee7cc6b8f1ce99e155e78ea653b5782d41d /net/switchdev/switchdev.c
parentnet: fec: remove the remaining code of rx copybreak (diff)
downloadkernel-36bde9c1accb8f7aa908b9c04c0769251629e6fd.tar.gz
kernel-36bde9c1accb8f7aa908b9c04c0769251629e6fd.zip
net: fec: remove fec_set_mac_address() from fec_enet_init()
The fec_enet_init() is only invoked when the FEC driver probes, and the network device of FEC is not been brought up at this moment. So the fec_set_mac_address() does nothing and just returns zero when it is invoked in the fec_enet_init(). Actually, the MAC address is set into the hardware through fec_restart() which is also called in the fec_enet_init(). Signed-off-by: Wei Fang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions