summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-11-30 17:56:31 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-11-30 17:56:31 +0100
commit8ec535d64374d07647f79b13711fa63006d93b62 (patch)
tree6cb0a3efe063a2cfcc6f0ee6721d80ce7852ad22
parent26284eb4f4728886d462e25f24afee3d05e45475 (diff)
Remove some useless braces
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index 3b3f52df..010635d2 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -388,7 +388,7 @@ static void manager_remove_adapter(struct btd_adapter *adapter)
DBUS_TYPE_OBJECT_PATH, &path,
DBUS_TYPE_INVALID);
- if ((default_adapter_id == dev_id || default_adapter_id < 0)) {
+ if (default_adapter_id == dev_id || default_adapter_id < 0) {
int new_default = hci_get_route(NULL);
if (new_default >= 0)