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 fdb4335..f5430e9 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);