aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-31 16:02:39 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-03-31 23:13:33 +0200
commit317900635136564cce1ce74ef09a8e5fb012912b (patch)
treeb9f1a6f9ea499b2f937ef3e81001dae6b92354b3
parent250c09b73c68d3f6ac5263df39895e23124c8e50 (diff)
cinterion: remove unused checkup of default IP family
Looks like the logic is just there to write a debug log, as the selected IP family is not used anywhere else. Just remove this.
-rw-r--r--plugins/cinterion/mm-broadband-bearer-cinterion.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/cinterion/mm-broadband-bearer-cinterion.c b/plugins/cinterion/mm-broadband-bearer-cinterion.c
index 4c59d567..ddfc90d0 100644
--- a/plugins/cinterion/mm-broadband-bearer-cinterion.c
+++ b/plugins/cinterion/mm-broadband-bearer-cinterion.c
@@ -300,21 +300,9 @@ dial_3gpp_context_step (GTask *task)
}
switch (ctx->step) {
- case DIAL_3GPP_CONTEXT_STEP_FIRST: {
- MMBearerIpFamily ip_family;
-
- ip_family = mm_bearer_properties_get_ip_type (mm_base_bearer_peek_config (MM_BASE_BEARER (ctx->self)));
- if (ip_family == MM_BEARER_IP_FAMILY_NONE || ip_family == MM_BEARER_IP_FAMILY_ANY) {
- gchar *ip_family_str;
-
- ip_family = mm_base_bearer_get_default_ip_family (MM_BASE_BEARER (ctx->self));
- ip_family_str = mm_bearer_ip_family_build_string_from_mask (ip_family);
- mm_obj_dbg (self, "no specific IP family requested, defaulting to %s", ip_family_str);
- g_free (ip_family_str);
- }
-
+ case DIAL_3GPP_CONTEXT_STEP_FIRST:
ctx->step++;
- } /* fall through */
+ /* fall through */
case DIAL_3GPP_CONTEXT_STEP_AUTH: {
gchar *command;