summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/gprs-context.c
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-10-23 12:14:34 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-10-23 17:05:56 -0500
commit14c116be369ac6c9c31ccf814e763aed6785f941 (patch)
treec26ac23587d05f10c73247e832b4af5c06c80ca8 /drivers/atmodem/gprs-context.c
parentd6161ddb613b53db3062b4a3afdc1678f61d2aeb (diff)
downloadofono-14c116be369ac6c9c31ccf814e763aed6785f941.tar.bz2
Remove unused code and make compiler happy
Diffstat (limited to 'drivers/atmodem/gprs-context.c')
-rw-r--r--drivers/atmodem/gprs-context.c2
1 files changed, 0 insertions, 2 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);