提交 08c511a7 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

mac802154: rx: remove unnecessary parameter

This patch removes a not used parameter in ieee802154_deliver_skb.
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 90386a7e
......@@ -29,7 +29,7 @@
#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);
......@@ -103,7 +103,7 @@ ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册