summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.h
diff options
context:
space:
mode:
authorGianluca Anzolin <gianluca@sottospazio.it>2013-07-29 17:08:09 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-08-21 16:47:06 +0200
commitebe937f74b8a72cf3ceeae5c2194a160bb092901 (patch)
treea5da8a08933923db90297ca5a02ed6d02606f593 /drivers/oprofile/buffer_sync.h
parentBluetooth: Take proper tty_struct references (diff)
downloadlinux-ebe937f74b8a72cf3ceeae5c2194a160bb092901.tar.xz
linux-ebe937f74b8a72cf3ceeae5c2194a160bb092901.zip
Bluetooth: Remove the device from the list in the destructor
The current code removes the device from the device list in several places. Do it only in the destructor instead and in the error path of rfcomm_add_dev() if the device couldn't be initialized. Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'drivers/oprofile/buffer_sync.h')
0 files changed, 0 insertions, 0 deletions