The h4->rx_skb is not used anymore and with that just remove it. Seems
this was a leftover and even the kfree_skb call freeing it is rather
pointless since it got never allocated.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
struct h4_struct {
unsigned long rx_state;
unsigned long rx_count;
- struct sk_buff *rx_skb;
struct sk_buff_head txq;
};
skb_queue_purge(&h4->txq);
- kfree_skb(h4->rx_skb);
-
hu->priv = NULL;
kfree(h4);