diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-07-31 17:14:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 17:13:15 +0300 |
commit | 29a097b7747725da003245412dab61093d4e5976 (patch) | |
tree | 844d0dc679391b7301792713a9ae90eba939721b /net/dsa/tag_lan9303.c | |
parent | 35d7a6f1fb53479965e9f99e8c87edc642336eba (diff) | |
download | linux-29a097b7747725da003245412dab61093d4e5976.tar.xz |
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/tag_lan9303.c')
-rw-r--r-- | net/dsa/tag_lan9303.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dsa/tag_lan9303.c b/net/dsa/tag_lan9303.c index cf7cf2fa1240..58d3a0e712d2 100644 --- a/net/dsa/tag_lan9303.c +++ b/net/dsa/tag_lan9303.c @@ -74,8 +74,7 @@ static struct sk_buff *lan9303_xmit(struct sk_buff *skb, struct net_device *dev) return skb; } -static struct sk_buff *lan9303_rcv(struct sk_buff *skb, struct net_device *dev, - struct packet_type *pt) +static struct sk_buff *lan9303_rcv(struct sk_buff *skb, struct net_device *dev) { __be16 *lan9303_tag; u16 lan9303_tag1; |