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-Tag: v3.12-rc1~1806^2~17^2~247^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba6fc31727c07e11a7b700a9c17e91ab4bed2f4c;p=kernel%2Fkernel-generic.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 d1728af..c2fbaf9 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)