This patch removes a not used parameter in ieee802154_deliver_skb.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
#include "ieee802154_i.h"
-static int ieee802154_deliver_skb(struct net_device *dev, struct sk_buff *skb)
+static int ieee802154_deliver_skb(struct sk_buff *skb)
{
skb->ip_summed = CHECKSUM_UNNECESSARY;
skb->protocol = htons(ETH_P_IEEE802154);
switch (mac_cb(skb)->type) {
case IEEE802154_FC_TYPE_DATA:
- return ieee802154_deliver_skb(sdata->dev, skb);
+ return ieee802154_deliver_skb(skb);
default:
pr_warn("ieee802154: bad frame received (type = %d)\n",
mac_cb(skb)->type);