diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-10-23 12:14:34 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-23 17:05:56 -0500 |
commit | 14c116be369ac6c9c31ccf814e763aed6785f941 (patch) | |
tree | c26ac23587d05f10c73247e832b4af5c06c80ca8 /drivers | |
parent | d6161ddb613b53db3062b4a3afdc1678f61d2aeb (diff) | |
download | ofono-14c116be369ac6c9c31ccf814e763aed6785f941.tar.bz2 |
Remove unused code and make compiler happy
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/atmodem/gprs-context.c | 2 | ||||
-rw-r--r-- | drivers/atmodem/gprs.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/atmodem/gprs-context.c b/drivers/atmodem/gprs-context.c index 23ad3dba..3cd9ec2a 100644 --- a/drivers/atmodem/gprs-context.c +++ b/drivers/atmodem/gprs-context.c @@ -39,7 +39,6 @@ #include "atmodem.h" -static const char *cgdcont_prefix[] = { "+CGDCONT:", NULL }; static const char *cgact_prefix[] = { "+CGACT:", NULL }; static const char *none_prefix[] = { NULL }; @@ -106,7 +105,6 @@ static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data) at_cgact_up_cb, ncbd, g_free) > 0) return; -error: if (ncbd) g_free(ncbd); diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c index af43d445..d60fbca1 100644 --- a/drivers/atmodem/gprs.c +++ b/drivers/atmodem/gprs.c @@ -189,7 +189,6 @@ out: static void cgev_notify(GAtResult *result, gpointer user_data) { struct ofono_gprs *gprs = user_data; - struct gprs_data *gd = ofono_gprs_get_data(gprs); GAtResultIter iter; const char *event; |