summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs.c')
-rw-r--r--src/gprs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 9d6e8297..559a43d3 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -276,14 +276,11 @@ static void gprs_cid_release(struct ofono_gprs *gprs, unsigned int id)
static gboolean assign_context(struct pri_context *ctx)
{
struct idmap *cidmap = ctx->gprs->cid_map;
- unsigned int cid_min;
GSList *l;
if (cidmap == NULL)
return FALSE;
- cid_min = idmap_get_min(cidmap);
-
ctx->context.cid = gprs_cid_alloc(ctx->gprs);
if (ctx->context.cid == 0)
return FALSE;