mirror of git://git.sysmocom.de/ofono
Get rid of unneeded
This commit is contained in:
parent
82ede4d647
commit
8294c1e42c
17
src/sim.c
17
src/sim.c
|
@ -74,11 +74,6 @@ struct sim_manager_data {
|
|||
int opl_num;
|
||||
int opl_size;
|
||||
int opl_current;
|
||||
|
||||
struct pnn_operator *pnn;
|
||||
int pnn_num;
|
||||
int pnn_size;
|
||||
int pnn_current;
|
||||
};
|
||||
|
||||
static char **get_own_numbers(GSList *own_numbers)
|
||||
|
@ -147,18 +142,6 @@ static void sim_manager_destroy(gpointer userdata)
|
|||
g_slist_free(data->opl);
|
||||
data->opl = NULL;
|
||||
}
|
||||
|
||||
if (data->pnn) {
|
||||
for (i = 0; i < data->pnn_num; i ++) {
|
||||
if (data->pnn[i].longname)
|
||||
g_free(data->pnn[i].longname);
|
||||
if (data->pnn[i].shortname)
|
||||
g_free(data->pnn[i].shortname);
|
||||
}
|
||||
g_free(data->pnn);
|
||||
data->pnn = NULL;
|
||||
data->pnn_num = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static DBusMessage *sim_get_properties(DBusConnection *conn,
|
||||
|
|
Loading…
Reference in New Issue