From 73bba4b83b97265ff28185846fba8e93867d8a3c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 19 Aug 2009 16:20:35 -0500 Subject: Remove dead code in voicecall at driver --- drivers/atmodem/voicecall.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'drivers/atmodem/voicecall.c') 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; -- cgit v1.2.3