aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-11-11 11:26:44 +0000
committerPaolo Abeni <pabeni@redhat.com>2025-11-13 17:03:19 +0100
commitf694d215d34035cc64b1d176fd82db0d1f2428d4 (patch)
tree13cf8f6d22127b2cecec308edc887bb9f775307a /net/unix/garbage.c
parentnet: stmmac: clean up stmmac_reset() (diff)
downloadwireguard-linux-f694d215d34035cc64b1d176fd82db0d1f2428d4.tar.xz
wireguard-linux-f694d215d34035cc64b1d176fd82db0d1f2428d4.zip
net: stmmac: always allocate mac_device_info
The ->setup() method implemented by dwmac-loongson and dwmac-sun8i allocate the mac_device_info structure, as does stmmac_hwif_init(). This makes no sense. Have stmmac_hwif_init() always allocate this structure, and pass it to the ->setup() method to initialise when it is provided. Rename this method to "mac_setup" to more accurately describe what it is doing. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1vImWK-0000000DrIx-28vO@rmk-PC.armlinux.org.uk Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions