summaryrefslogtreecommitdiff
path: root/net/caif
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions
e>
net: xilinx: emaclite: Remove net_device pointer from struct net_localemaclite-cleanup
There's only a few places left where the net_device back-pointer from struct net_local is used, so we can reduce the private struct size by removing it. Remove it entirely by using the net_device already passed to the function in question and by storing the net_device pointer instead of the net_local pointer in mii_bus->priv. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c