net: dsa: remove the struct packet_type argument from dsa_device_ops::rcv()
[linux-2.6-block.git] / net / dsa / tag_dsa.c
index 3607499d06976986114f794c63d3d9224f6cb5ad..e32f8160e895b0e861a8db2f433069560e922bed 100644 (file)
@@ -332,8 +332,7 @@ static struct sk_buff *dsa_xmit(struct sk_buff *skb, struct net_device *dev)
        return dsa_xmit_ll(skb, dev, 0);
 }
 
-static struct sk_buff *dsa_rcv(struct sk_buff *skb, struct net_device *dev,
-                              struct packet_type *pt)
+static struct sk_buff *dsa_rcv(struct sk_buff *skb, struct net_device *dev)
 {
        if (unlikely(!pskb_may_pull(skb, DSA_HLEN)))
                return NULL;
@@ -373,8 +372,7 @@ static struct sk_buff *edsa_xmit(struct sk_buff *skb, struct net_device *dev)
        return skb;
 }
 
-static struct sk_buff *edsa_rcv(struct sk_buff *skb, struct net_device *dev,
-                               struct packet_type *pt)
+static struct sk_buff *edsa_rcv(struct sk_buff *skb, struct net_device *dev)
 {
        if (unlikely(!pskb_may_pull(skb, EDSA_HLEN)))
                return NULL;