summaryrefslogtreecommitdiffstats
path: root/drivers/rilmodem/rilutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rilmodem/rilutil.c')
-rw-r--r--drivers/rilmodem/rilutil.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/rilmodem/rilutil.c b/drivers/rilmodem/rilutil.c
index 85eda55b..8768882d 100644
--- a/drivers/rilmodem/rilutil.c
+++ b/drivers/rilmodem/rilutil.c
@@ -83,20 +83,6 @@ gint ril_util_call_compare_by_phone_number(gconstpointer a, gconstpointer b)
sizeof(struct ofono_phone_number));
}
-gint ril_util_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;
-}
-
gint ril_util_call_compare(gconstpointer a, gconstpointer b)
{
const struct ofono_call *ca = a;