aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_edsa.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-08-17 16:47:00 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-21 10:39:11 -0700
commit89e49506bc62520f93e64a278293444319a6aebb (patch)
tree48ae52027755af0a2f3424f7d940c2e09c092275 /net/dsa/tag_edsa.c
parentMerge branch 'bpf-mips-jit-improvements' (diff)
downloadlinux-dev-89e49506bc62520f93e64a278293444319a6aebb.tar.xz
linux-dev-89e49506bc62520f93e64a278293444319a6aebb.zip
dsa: remove unused net_device arg from handlers
compile tested only, but saw no warnings/errors with allmodconfig build. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_edsa.c')
-rw-r--r--net/dsa/tag_edsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dsa/tag_edsa.c b/net/dsa/tag_edsa.c
index 67a9d26f9075..76367ba1b2e2 100644
--- a/net/dsa/tag_edsa.c
+++ b/net/dsa/tag_edsa.c
@@ -78,8 +78,7 @@ static struct sk_buff *edsa_xmit(struct sk_buff *skb, struct net_device *dev)
}
static struct sk_buff *edsa_rcv(struct sk_buff *skb, struct net_device *dev,
- struct packet_type *pt,
- struct net_device *orig_dev)
+ struct packet_type *pt)
{
struct dsa_switch_tree *dst = dev->dsa_ptr;
struct dsa_switch *ds;