diff options
author | Carlo Lobrano <c.lobrano@gmail.com> | 2022-09-01 13:31:33 +0200 |
---|---|---|
committer | Carlo Lobrano <c.lobrano@gmail.com> | 2022-09-29 07:03:37 +0000 |
commit | 049c5ab277d9837e8f7dec1129086d32f055e54d (patch) | |
tree | 75fe4958ac6c8256ebb706df3e73698aa3c40f47 | |
parent | 3ab3d5e899d97fc459a22992359ab0db3c234e64 (diff) |
plugins,telit: remove unnecessary argument
is_bnd_4g_format_hex() function does not need MMBaseModem.
-rw-r--r-- | plugins/telit/mm-shared-telit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/telit/mm-shared-telit.c b/plugins/telit/mm-shared-telit.c index bf674831..2c0ebb88 100644 --- a/plugins/telit/mm-shared-telit.c +++ b/plugins/telit/mm-shared-telit.c @@ -58,8 +58,7 @@ private_free (Private *priv) } static gboolean -is_bnd_4g_format_hex (MMBaseModem *self, - const gchar *revision) +is_bnd_4g_format_hex (const gchar *revision) { MMTelitModel model; @@ -145,7 +144,7 @@ mm_shared_telit_get_bnd_parse_config (MMIfaceModem *self, MMTelitBNDParseConfig config->modem_is_3g = mm_iface_modem_is_3g (self); config->modem_is_4g = mm_iface_modem_is_4g (self); config->modem_alternate_3g_bands = priv->alternate_3g_bands; - config->modem_has_hex_format_4g_bands = is_bnd_4g_format_hex (MM_BASE_MODEM(self), priv->software_package_version); + config->modem_has_hex_format_4g_bands = is_bnd_4g_format_hex (priv->software_package_version); config->modem_ext_4g_bands = priv->ext_4g_bands; } |