summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-09-22 16:57:03 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-23 12:34:14 +0100
commit68a81bb2eebdeaabb04ae04c4d89c3bb5bec3b32 (patch)
treef8159e8ae27a487fdddd7b4e0b059d8d1c2c233f /drivers/net/dsa/sja1105
parent428168f9951710854d8d1abf6ca03a8bdab0ccc5 (diff)
downloadlinux-68a81bb2eebdeaabb04ae04c4d89c3bb5bec3b32.tar.gz
linux-68a81bb2eebdeaabb04ae04c4d89c3bb5bec3b32.tar.bz2
linux-68a81bb2eebdeaabb04ae04c4d89c3bb5bec3b32.zip
net: dsa: sja1105: remove sp->dp
It looks like this field was never used since its introduction in commit 227d07a07ef1 ("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>
Diffstat (limited to 'drivers/net/dsa/sja1105')
-rw-r--r--drivers/net/dsa/sja1105/sja1105_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_main.c b/drivers/net/dsa/sja1105/sja1105_main.c
index 2f8cc6686c38..7ce69dc07800 100644
--- a/drivers/net/dsa/sja1105/sja1105_main.c
+++ b/drivers/net/dsa/sja1105/sja1105_main.c
@@ -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);