Remove unneeded code to disable the modem on hfp

ofono_modem_remove() already disables the modem.
This commit is contained in:
Gustavo F. Padovan 2010-01-28 11:32:42 -02:00 committed by Denis Kenzior
parent bcad38ceff
commit 0bb749a51f
1 changed files with 0 additions and 3 deletions

View File

@ -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);