From: Daniel Wagner Date: Thu, 15 Dec 2011 15:04:37 +0000 (+0100) Subject: ofono: Remove unnecessary brackets X-Git-Tag: 0.79~289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58966e8e8b4a90edcb539c557795acfbd39f45e5;p=platform%2Fupstream%2Fconnman.git ofono: Remove unnecessary brackets --- 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); }