diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-29 16:34:35 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-29 18:07:45 -0400 |
commit | 08c511a7331cf6edb28895d7f46c3039180b30cb (patch) | |
tree | 65b491463c59e794f76b6279695c938d5291cd18 /net/mac802154/rx.c | |
parent | 90386a7e3bcce60b6b83d0d1bd65d7b55a77fa60 (diff) |
mac802154: rx: remove unnecessary parameter
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>
Diffstat (limited to 'net/mac802154/rx.c')
-rw-r--r-- | net/mac802154/rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index 2aa80bdcbacf..51a55d9200cb 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #include "ieee802154_i.h" | 30 | #include "ieee802154_i.h" |
31 | 31 | ||
32 | static int ieee802154_deliver_skb(struct net_device *dev, struct sk_buff *skb) | 32 | static int ieee802154_deliver_skb(struct sk_buff *skb) |
33 | { | 33 | { |
34 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 34 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
35 | skb->protocol = htons(ETH_P_IEEE802154); | 35 | skb->protocol = htons(ETH_P_IEEE802154); |
@@ -103,7 +103,7 @@ ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata, | |||
103 | 103 | ||
104 | switch (mac_cb(skb)->type) { | 104 | switch (mac_cb(skb)->type) { |
105 | case IEEE802154_FC_TYPE_DATA: | 105 | case IEEE802154_FC_TYPE_DATA: |
106 | return ieee802154_deliver_skb(sdata->dev, skb); | 106 | return ieee802154_deliver_skb(skb); |
107 | default: | 107 | default: |
108 | pr_warn("ieee802154: bad frame received (type = %d)\n", | 108 | pr_warn("ieee802154: bad frame received (type = %d)\n", |
109 | mac_cb(skb)->type); | 109 | mac_cb(skb)->type); |