aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/cn_queue.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2009-10-01 22:40:07 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-02 13:54:05 -0400
commitf1489cfb173509a3c13444b46b6c989bad4f5b16 (patch)
treecd8fc93b73081e358371b9852c7b62cb02516ded /drivers/connector/cn_queue.c
parent18366b05a00349c1606269ba7422bf9b3a357ff2 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c
index 163c3e3d0d11..210338ea222f 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)
83 83
84 d->callback(msg, nsp); 84 d->callback(msg, nsp);
85 85
86 d->destruct_data(d->ddata); 86 kfree_skb(d->skb);
87 d->ddata = NULL; 87 d->skb = NULL;
88 88
89 kfree(d->free); 89 kfree(d->free);
90} 90}