diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-08-31 19:18:02 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-01 12:07:01 -0500 |
commit | 694847377de4eeb55f1044521320bd357f03c956 (patch) | |
tree | db31e9e13c2aa19f2c2621daedf85c6a5c9cf0a8 /src | |
parent | 4b43650116484e37a469428b4d56c6db7d704f43 (diff) |
voicecall: Remove unusued MULTI_RELEASE flag
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index a5ee2ed1..8e20e24d 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -38,8 +38,6 @@ #include "simutil.h" #include "smsutil.h" -#define VOICECALLS_FLAG_MULTI_RELEASE 0x1 - #define MAX_VOICE_CALLS 16 GSList *g_drivers = NULL; @@ -50,7 +48,6 @@ struct ofono_voicecall { GSList *multiparty_list; GSList *en_list; /* emergency number list */ GSList *new_en_list; /* Emergency numbers being read from SIM */ - int flags; DBusMessage *pending; struct ofono_sim *sim; unsigned int sim_watch; @@ -1248,8 +1245,6 @@ static DBusMessage *manager_hangup_all(DBusConnection *conn, return reply; } - vc->flags |= VOICECALLS_FLAG_MULTI_RELEASE; - vc->pending = dbus_message_ref(msg); if (vc->driver->hangup_all == NULL) { @@ -1501,7 +1496,6 @@ static DBusMessage *multiparty_hangup(DBusConnection *conn, } /* Fall back to the old-fashioned way */ - vc->flags |= VOICECALLS_FLAG_MULTI_RELEASE; voicecalls_release_queue(vc, vc->multiparty_list); voicecalls_release_next(vc); @@ -1799,8 +1793,6 @@ static void multirelease_callback(const struct ofono_error *error, void *data) return; } - vc->flags &= ~VOICECALLS_FLAG_MULTI_RELEASE; - reply = dbus_message_new_method_return(vc->pending); __ofono_dbus_pending_reply(&vc->pending, reply); } |