diff options
author | Alan Ott <alan@signal11.us> | 2012-11-29 13:25:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-30 12:19:24 -0500 |
commit | 92a2ec72a7dbb84f4b614c9b72880d86db69475f (patch) | |
tree | a86002a08cd1414b4d66ff6a5b77231db6bb43c5 /net/mac802154 | |
parent | fcefbe9fcb3b0d72c91629f7fcf7ea09a46ab2c1 (diff) |
mac802154: use kfree_skb() instead of dev_kfree_skb()
kfree_skb() indicates failure, which is where this is being used.
Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c index db639140afc6..4e09d070995a 100644 --- a/net/mac802154/tx.c +++ b/net/mac802154/tx.c | |||
@@ -99,7 +99,7 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb, | |||
99 | } | 99 | } |
100 | 100 | ||
101 | if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) { | 101 | if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) { |
102 | dev_kfree_skb(skb); | 102 | kfree_skb(skb); |
103 | return NETDEV_TX_OK; | 103 | return NETDEV_TX_OK; |
104 | } | 104 | } |
105 | 105 | ||