diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-19 16:20:35 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-19 18:35:08 -0500 |
commit | 73bba4b83b97265ff28185846fba8e93867d8a3c (patch) | |
tree | e066718668e8969f1842f23012ebb1d7b30212e1 /drivers | |
parent | 7ad2eb234290026ad6944690976461af6f319aff (diff) | |
download | ofono-73bba4b83b97265ff28185846fba8e93867d8a3c.tar.bz2 |
Remove dead code in voicecall at driver
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/atmodem/voicecall.c | 31 |
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; |