Bluetooth: Call ops->teardown() without checking for NULL
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 6 Oct 2012 10:51:54 +0000 (11:51 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 12 Oct 2012 10:30:20 +0000 (18:30 +0800)
commitb699ec0d99825713d30a057c432d0e29f07c5490
tree6a5bfca888eee76982e0741c97544f01c932f748
parentd117773ce5c73eaa51f3283f89802f4491b27b2e
Bluetooth: Call ops->teardown() without checking for NULL

Users that don't implement teardown() should use l2cap_chan_no_teardown()

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c