提交 68a81bb2 编写于 作者: V Vladimir Oltean 提交者: David S. Miller

net: dsa: sja1105: remove sp->dp

It looks like this field was never used since its introduction in commit
227d07a0 ("net: dsa: sja1105: Add support for traffic through
standalone ports") remove it.
Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 428168f9
...@@ -2965,7 +2965,6 @@ static int sja1105_setup_ports(struct sja1105_private *priv) ...@@ -2965,7 +2965,6 @@ static int sja1105_setup_ports(struct sja1105_private *priv)
continue; continue;
dp->priv = sp; dp->priv = sp;
sp->dp = dp;
sp->data = tagger_data; sp->data = tagger_data;
slave = dp->slave; slave = dp->slave;
kthread_init_work(&sp->xmit_work, sja1105_port_deferred_xmit); kthread_init_work(&sp->xmit_work, sja1105_port_deferred_xmit);
......
...@@ -65,7 +65,6 @@ struct sja1105_port { ...@@ -65,7 +65,6 @@ struct sja1105_port {
struct kthread_work xmit_work; struct kthread_work xmit_work;
struct sk_buff_head xmit_queue; struct sk_buff_head xmit_queue;
struct sja1105_tagger_data *data; struct sja1105_tagger_data *data;
struct dsa_port *dp;
bool hwts_tx_en; bool hwts_tx_en;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册