chiark / gitweb /
timedated: remove left-over distribution specific code
authorKay Sievers <kay@vrfy.org>
Wed, 9 Jan 2013 18:14:44 +0000 (19:14 +0100)
committerKay Sievers <kay@vrfy.org>
Wed, 9 Jan 2013 18:14:44 +0000 (19:14 +0100)
src/timedate/timedated.c

index fdb4335464fd6dbfe1981d86b2b412568498592e..f5430e9f78a76c34c7fe5fb1c28306776b1d6027 100644 (file)
@@ -176,14 +176,6 @@ static int read_data(void) {
                 }
         }
 
-#ifdef HAVE_DEBIAN
-        r = read_one_line_file("/etc/timezone", &tz.zone);
-        if (r < 0) {
-                if (r != -ENOENT)
-                        log_warning("Failed to read /etc/timezone: %s", strerror(-r));
-        }
-#endif
-
 have_timezone:
         if (isempty(tz.zone)) {
                 free(tz.zone);