From: Gustavo F. Padovan Date: Thu, 28 Jan 2010 13:32:42 +0000 (-0200) Subject: Remove unneeded code to disable the modem on hfp X-Git-Tag: 0.17~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bb749a51fefd38864cd424ee1ef8eeae60ce89d;p=platform%2Fupstream%2Fofono.git Remove unneeded code to disable the modem on hfp ofono_modem_remove() already disables the modem. --- diff --git a/plugins/hfp.c b/plugins/hfp.c index ea7a85e..5b2cdae 100644 --- a/plugins/hfp.c +++ b/plugins/hfp.c @@ -388,9 +388,6 @@ static DBusMessage *hfp_agent_release(DBusConnection *conn, { struct ofono_modem *modem = data; - if (ofono_modem_get_powered(modem)) - hfp_disable(modem); - ofono_modem_remove(modem); return dbus_message_new_method_return(msg);