diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-02-10 02:59:19 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-14 22:39:31 +0100 |
commit | f355095756c2a0b77a5b0aa0384c0c09d9735252 (patch) | |
tree | 0398680c23156f609f1a95d10430b37c2b193fe0 /net/bluetooth/hci_conn.c | |
parent | Bluetooth: Serialize RFCOMMCREATEDEV and RFCOMMRELEASEDEV ioctls (diff) | |
download | linux-f355095756c2a0b77a5b0aa0384c0c09d9735252.tar.xz linux-f355095756c2a0b77a5b0aa0384c0c09d9735252.zip |
Bluetooth: Refactor rfcomm_dev_add()
Move rfcomm_dev allocation and initialization into new function,
__rfcomm_dev_add(), to simplify resource release in error handling.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions