summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/voicecall.c')
-rw-r--r--drivers/atmodem/voicecall.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index cb2a8d40..508275eb 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -90,42 +90,11 @@ static unsigned int alloc_next_id(struct voicecall_data *d)
return 0;
}
-#if 0
-static gboolean alloc_specific_id(struct voicecall_data *d, unsigned int id)
-{
- if (id < 1 || id > sizeof(d->id_list))
- return FALSE;
-
- if (d->id_list & (0x1 << id))
- return FALSE;
-
- d->id_list |= (0x1 << id);
-
- return TRUE;
-}
-#endif
-
static void release_id(struct voicecall_data *d, unsigned int id)
{
d->id_list &= ~(0x1 << id);
}
-#if 0
-static gint call_compare_by_id(gconstpointer a, gconstpointer b)
-{
- const struct ofono_call *call = a;
- unsigned int id = GPOINTER_TO_UINT(b);
-
- if (id < call->id)
- return -1;
-
- if (id > call->id)
- return 1;
-
- return 0;
-}
-#endif
-
static gint call_compare_by_status(gconstpointer a, gconstpointer b)
{
const struct ofono_call *call = a;