aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-firmware.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2019-08-02 09:40:30 -0700
committerBen Chan <benchan@chromium.org>2019-08-02 19:58:01 -0700
commit13cf94a187f1de53f29c6cf65dc5c1b895cd01d1 (patch)
tree2da6d57ae4187d725d884b83dc1453a3a08fc1cc /src/mm-iface-modem-firmware.c
parentc363c598403857b869bd84e68d0fa247dfa90bef (diff)
iface-modem-firmware: remove explicit GDestroyNotify cast on g_free
g_free is in form of `void (*)(gpointer)`, which matches the GDestroyNotify signature. An explicit GDestroyNotify cast on g_free is thus not needed.
Diffstat (limited to 'src/mm-iface-modem-firmware.c')
-rw-r--r--src/mm-iface-modem-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem-firmware.c b/src/mm-iface-modem-firmware.c
index ecfa3b5f..a3e68c56 100644
--- a/src/mm-iface-modem-firmware.c
+++ b/src/mm-iface-modem-firmware.c
@@ -348,7 +348,7 @@ add_generic_device_ids (MMBaseModem *self,
mm_iface_modem_get_carrier_config (MM_IFACE_MODEM (self), &aux, NULL);
- ids = g_ptr_array_new_with_free_func ((GDestroyNotify)g_free);
+ ids = g_ptr_array_new_with_free_func (g_free);
if (aux) {
gchar *carrier;