connector: Removed the destruct_data callback since it is always kfree_skb()
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
18366b05a0
commit
f1489cfb17
@@ -83,8 +83,8 @@ void cn_queue_wrapper(struct work_struct *work)
|
||||
|
||||
d->callback(msg, nsp);
|
||||
|
||||
d->destruct_data(d->ddata);
|
||||
d->ddata = NULL;
|
||||
kfree_skb(d->skb);
|
||||
d->skb = NULL;
|
||||
|
||||
kfree(d->free);
|
||||
}
|
||||
|
Reference in New Issue
Block a user