From: Andrei Emeltchenko Date: Wed, 31 Oct 2012 13:46:26 +0000 (+0200) Subject: Bluetooth: trivial: Fix braces style and remove empty line X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ba6fc31727c07e11a7b700a9c17e91ab4bed2f4c;p=deliverable%2Flinux.git Bluetooth: trivial: Fix braces style and remove empty line Signed-off-by: Andrei Emeltchenko Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index d1728af8e84f..c2fbaf9c6ac8 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -6252,9 +6252,9 @@ void l2cap_connect_cfm(struct hci_conn *hcon, u8 status) conn = l2cap_conn_add(hcon, status); if (conn) l2cap_conn_ready(conn); - } else + } else { l2cap_conn_del(hcon, bt_to_errno(status)); - + } } int l2cap_disconn_ind(struct hci_conn *hcon)