mirror of git://git.sysmocom.de/ofono
Remove unused variables.
This commit is contained in:
parent
b45cfd389c
commit
e9ab6dd8ef
|
@ -53,7 +53,6 @@ struct call_meter_data {
|
||||||
int acm_max;
|
int acm_max;
|
||||||
double ppu;
|
double ppu;
|
||||||
char currency[4];
|
char currency[4];
|
||||||
char *passwd;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct call_meter_data *call_meter_create(void)
|
static struct call_meter_data *call_meter_create(void)
|
||||||
|
@ -168,7 +167,6 @@ static void set_currency(struct ofono_modem *modem, const char *value)
|
||||||
static void cm_get_properties_reply(struct ofono_modem *modem)
|
static void cm_get_properties_reply(struct ofono_modem *modem)
|
||||||
{
|
{
|
||||||
struct call_meter_data *cm = modem->call_meter;
|
struct call_meter_data *cm = modem->call_meter;
|
||||||
//struct call_meter_property *property;
|
|
||||||
DBusMessage *reply;
|
DBusMessage *reply;
|
||||||
DBusMessageIter iter, dict;
|
DBusMessageIter iter, dict;
|
||||||
const char *currency = cm->currency;
|
const char *currency = cm->currency;
|
||||||
|
@ -234,7 +232,6 @@ static void query_acm_callback(const struct ofono_error *error, int value,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
struct ofono_modem *modem = data;
|
struct ofono_modem *modem = data;
|
||||||
//struct call_meter_data *cm = modem->call_meter;
|
|
||||||
|
|
||||||
if (error->type == OFONO_ERROR_TYPE_NO_ERROR)
|
if (error->type == OFONO_ERROR_TYPE_NO_ERROR)
|
||||||
set_acm(modem, value);
|
set_acm(modem, value);
|
||||||
|
|
Loading…
Reference in New Issue