Bluetooth: Remove double free of SKB pointer in L2CAP
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Tue, 22 Dec 2009 13:58:08 +0000 (15:58 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Jan 2010 13:57:11 +0000 (05:57 -0800)
commitfcafde2e6d81aa7901f9b10e6a097592f0637b79
treee1f80255f43851dcd2cacd836740330dc4cfd2ff
parentb473946a0853860e13b51c28add5524741117786
Bluetooth: Remove double free of SKB pointer in L2CAP

Trivial fix for double free of SKB pointer with kfree_skb to
make code simplier and cleaner. Remove unused variable err.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c