summaryrefslogtreecommitdiff
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-01-09 19:14:44 +0100
committerKay Sievers <kay@vrfy.org>2013-01-09 19:14:44 +0100
commit99f861310d3f05f4e86cb9582a94b891dbb3382b (patch)
tree8cf974582ca7e9936e00368160bd67faf475ccb2 /src/timedate/timedated.c
parentd5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d (diff)
timedated: remove left-over distribution specific code
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c8
1 files changed, 0 insertions, 8 deletions
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);