net: dsa: kill circular reference with slave priv
The dsa_slave_priv structure does not need a pointer to its net_device. Kill it. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9f4ab6ec7e
commit
46e7b8d8d5
@@ -22,11 +22,6 @@ struct dsa_device_ops {
|
||||
};
|
||||
|
||||
struct dsa_slave_priv {
|
||||
/*
|
||||
* The linux network interface corresponding to this
|
||||
* switch port.
|
||||
*/
|
||||
struct net_device *dev;
|
||||
struct sk_buff * (*xmit)(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
|
||||
|
Reference in New Issue
Block a user