From 58966e8e8b4a90edcb539c557795acfbd39f45e5 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 15 Dec 2011 16:04:37 +0100 Subject: [PATCH] ofono: Remove unnecessary brackets --- plugins/ofono.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 3486014..41d28ae 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -2035,11 +2035,11 @@ static void add_modem(const char *path, DBusMessageIter *prop) if (modem->ignore == TRUE) return; - if (modem->powered == FALSE) { + if (modem->powered == FALSE) modem_set_powered(modem); - } else if (has_interface(modem->interfaces, OFONO_API_SIM) == TRUE) { + else if (has_interface(modem->interfaces, OFONO_API_SIM) == TRUE) sim_get_properties(modem); - } else + else connection_manager_init(modem); } -- 2.7.4