diff options
author | 2025-03-10 12:31:30 +0000 | |
---|---|---|
committer | 2025-03-17 21:36:20 +0100 | |
commit | 39b0a10d80d6c7573fe94d09635c3931a91065d9 (patch) | |
tree | d0f45f6a0ae5ba086de53d9200f1da4b607ce373 /net/lapb/lapb_out.c | |
parent | net: stmmac: remove redundant racy tear-down in stmmac_dvr_remove() (diff) | |
download | wireguard-linux-39b0a10d80d6c7573fe94d09635c3931a91065d9.tar.xz wireguard-linux-39b0a10d80d6c7573fe94d09635c3931a91065d9.zip |
net: stmmac: remove unnecessary stmmac_mac_set() in stmmac_release()
stmmac_release() calls phylink_stop() and then goes on to call
stmmac_mac_set(, false). However, phylink_stop() will call
stmmac_mac_link_down() before returning, which will do this work.
Remove this unnecessary call.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Furong Xu <0x1207@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1trcI6-005rn8-GV@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions