diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index 42e96729dae69aac0362e791f9e42be962ae38b2..446e1300383ebf2f2976fd3d1e3421fe49deccab 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c @@ -217,8 +217,7 @@ __ieee802154_rx_handle_packet(struct ieee802154_local *local, break; } - if (skb) - kfree_skb(skb); + kfree_skb(skb); } static void