diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2009-10-02 02:40:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-02 10:54:05 -0700 |
commit | f1489cfb173509a3c13444b46b6c989bad4f5b16 (patch) | |
tree | cd8fc93b73081e358371b9852c7b62cb02516ded /drivers/connector/cn_queue.c | |
parent | 18366b05a00349c1606269ba7422bf9b3a357ff2 (diff) |
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>
Diffstat (limited to 'drivers/connector/cn_queue.c')
-rw-r--r-- | drivers/connector/cn_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c index 163c3e3d0d1..210338ea222 100644 --- a/drivers/connector/cn_queue.c +++ b/drivers/connector/cn_queue.c @@ -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); } |