diff options
Diffstat (limited to 'drivers/stemodem/gprs-context.c')
-rw-r--r-- | drivers/stemodem/gprs-context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c index 0be42389..e247f35a 100644 --- a/drivers/stemodem/gprs-context.c +++ b/drivers/stemodem/gprs-context.c @@ -383,9 +383,6 @@ static void ste_gprs_activate_primary(struct ofono_gprs_context *gc, GSList *l; struct conn_info *conn; - if (cbd == NULL) - goto error_no_device; - gcd->active_context = ctx->cid; cbd->user = gc; @@ -448,9 +445,6 @@ static void ste_gprs_deactivate_primary(struct ofono_gprs_context *gc, char buf[64]; GSList *l; - if (cbd == NULL) - goto error; - gcd->active_context = id; cbd->user = gc; |