diff options
| author | Gianluca Anzolin <[email protected]> | 2013-07-29 17:08:09 +0200 |
|---|---|---|
| committer | Gustavo Padovan <[email protected]> | 2013-08-21 16:47:06 +0200 |
| commit | ebe937f74b8a72cf3ceeae5c2194a160bb092901 (patch) | |
| tree | a5da8a08933923db90297ca5a02ed6d02606f593 /tools/perf/scripts/python | |
| parent | 396dc223dd36edd218650d042a07c5e61f022c5b (diff) | |
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 <[email protected]>
Reviewed-by: Peter Hurley <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions