diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-04-18 22:10:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-20 02:28:49 +0200 |
commit | 46e7b8d8d53bcde075dca6da3a3816a663073499 (patch) | |
tree | f7f76547537f17cabb98850efabdc5619a92edb1 /net/dsa/dsa_priv.h | |
parent | Merge branch 'bpf_event_output' (diff) | |
download | linux-46e7b8d8d53bcde075dca6da3a3816a663073499.tar.xz linux-46e7b8d8d53bcde075dca6da3a3816a663073499.zip |
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>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r-- | net/dsa/dsa_priv.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 1d1a54687e4a..dfa33779d49c 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h @@ -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); |