From 99f861310d3f05f4e86cb9582a94b891dbb3382b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 9 Jan 2013 19:14:44 +0100 Subject: timedated: remove left-over distribution specific code --- src/timedate/timedated.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index fdb4335464..f5430e9f78 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c @@ -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); -- cgit v1.2.3-54-g00ecf