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.
This commit is contained in:
Ben Chan
2019-08-02 19:58:01 -07:00
parent c363c59840
commit 13cf94a187
+1 -1
View File
@@ -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;