Skip to content

Commit

Permalink
mac802154: rx: remove unnecessary parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and Marcel Holtmann committed Oct 29, 2014
1 parent 90386a7 commit 08c511a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/mac802154/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 08c511a

Please sign in to comment.