chiark / gitweb /
gc: remove a lot of unused code
[elogind.git] / src / util.c
index 4e371d148e34759697fca5a3fbdaa45dcf5f9372..c4ff5aa575d4ea45d6b69cb42c1560354fef7acc 100644 (file)
@@ -2492,18 +2492,6 @@ char* gethostname_malloc(void) {
         return strdup(u.sysname);
 }
 
-int getmachineid_malloc(char **b) {
-        int r;
-
-        assert(b);
-
-        if ((r = read_one_line_file("/var/lib/dbus/machine-id", b)) < 0)
-                return r;
-
-        strstrip(*b);
-        return 0;
-}
-
 char* getlogname_malloc(void) {
         uid_t uid;
         long bufsize;