diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-07-31 16:14:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 16:13:15 +0200 |
commit | 29a097b7747725da003245412dab61093d4e5976 (patch) | |
tree | 844d0dc679391b7301792713a9ae90eba939721b /net/dsa/dsa.c | |
parent | nfc: hci: pass callback data param as pointer in nci_request() (diff) | |
download | linux-29a097b7747725da003245412dab61093d4e5976.tar.xz linux-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.c | 2 |
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; |