chiark / gitweb /
shared: inline trivial auto-cleanup functions
[elogind.git] / src / shared / set.c
index 53399b6..5f83c50 100644 (file)
@@ -37,14 +37,6 @@ void set_free(Set* s) {
         hashmap_free(MAKE_HASHMAP(s));
 }
 
-void set_freep(Set **s) {
-        if (!s)
-                return;
-
-        set_free(*s);
-        *s = NULL;
-}
-
 void set_free_free(Set *s) {
         hashmap_free_free(MAKE_HASHMAP(s));
 }