mirror of git://git.sysmocom.de/ofono
rilmodem: Remove unused ril_util_call_compare
This commit is contained in:
parent
3ed496e00f
commit
fbbd11cedd
|
@ -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(gconstpointer a, gconstpointer b)
|
||||
{
|
||||
const struct ofono_call *ca = a;
|
||||
const struct ofono_call *cb = b;
|
||||
|
||||
if (ca->id < cb->id)
|
||||
return -1;
|
||||
|
||||
if (ca->id > cb->id)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static gboolean cpin_check(gpointer userdata)
|
||||
{
|
||||
struct ril_util_sim_state_query *req = userdata;
|
||||
|
|
|
@ -89,7 +89,6 @@ typedef void (*ril_util_sim_inserted_cb_t)(gboolean present, void *userdata);
|
|||
void decode_ril_error(struct ofono_error *error, const char *final);
|
||||
gint ril_util_call_compare_by_status(gconstpointer a, gconstpointer b);
|
||||
gint ril_util_call_compare_by_phone_number(gconstpointer a, gconstpointer b);
|
||||
gint ril_util_call_compare(gconstpointer a, gconstpointer b);
|
||||
gchar *ril_util_get_netmask(const char *address);
|
||||
|
||||
struct ril_util_sim_state_query *ril_util_sim_state_query_new(GRil *ril,
|
||||
|
|
Loading…
Reference in New Issue