lib/cleanup: Drop unnecessary GEqualFunc cast
authorJonathan Lebon <jonathan@jlebon.com>
Mon, 17 Aug 2020 13:48:12 +0000 (09:48 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Mon, 17 Aug 2020 13:48:57 +0000 (09:48 -0400)
src/libostree/ostree-sysroot-cleanup.c

index 71d978e00598dd6906af32e10826ce6c47f12873..ffad4130809609ead25c1a97f0e4bcc1857a8bb8 100644 (file)
@@ -295,9 +295,9 @@ cleanup_old_deployments (OstreeSysroot       *self,
 
   /* Load all active deployments referenced by bootloader configuration. */
   g_autoptr(GHashTable) active_deployment_dirs =
-    g_hash_table_new_full (g_str_hash, (GEqualFunc)g_str_equal, g_free, NULL);
+    g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
   g_autoptr(GHashTable) active_boot_checksums =
-    g_hash_table_new_full (g_str_hash, (GEqualFunc)g_str_equal, g_free, NULL);
+    g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
   for (guint i = 0; i < self->deployments->len; i++)
     {
       OstreeDeployment *deployment = self->deployments->pdata[i];