summaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-07-31 17:14:32 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-02 15:13:15 +0100
commit29a097b7747725da003245412dab61093d4e5976 (patch)
tree844d0dc679391b7301792713a9ae90eba939721b /net/dsa/dsa.c
parent35d7a6f1fb53479965e9f99e8c87edc642336eba (diff)
downloadlinux-stable-29a097b7747725da003245412dab61093d4e5976.tar.gz
linux-stable-29a097b7747725da003245412dab61093d4e5976.tar.bz2
linux-stable-29a097b7747725da003245412dab61093d4e5976.zip
net: dsa: remove the struct packet_type argument from dsa_device_ops::rcv()
No tagging driver uses this. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r--net/dsa/dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 84cad1be9ce4..1dc45e40f961 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -238,7 +238,7 @@ static int dsa_switch_rcv(struct sk_buff *skb, struct net_device *dev,
if (!skb)
return 0;
- nskb = cpu_dp->rcv(skb, dev, pt);
+ nskb = cpu_dp->rcv(skb, dev);
if (!nskb) {
kfree_skb(skb);
return 0;