net: dsa: sja1105: remove sp->dp
It looks like this field was never used since its introduction in commit
227d07a07e ("net: dsa: sja1105: Add support for traffic through
standalone ports") remove it.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
428168f995
commit
68a81bb2ee
@@ -2965,7 +2965,6 @@ static int sja1105_setup_ports(struct sja1105_private *priv)
|
||||
continue;
|
||||
|
||||
dp->priv = sp;
|
||||
sp->dp = dp;
|
||||
sp->data = tagger_data;
|
||||
slave = dp->slave;
|
||||
kthread_init_work(&sp->xmit_work, sja1105_port_deferred_xmit);
|
||||
|
||||
Reference in New Issue
Block a user