[systemd-commits] src/timedate
Kay Sievers
kay at kemper.freedesktop.org
Wed Jan 9 10:15:12 PST 2013
src/timedate/timedated.c | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 99f861310d3f05f4e86cb9582a94b891dbb3382b
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 9 19:14:44 2013 +0100
timedated: remove left-over distribution specific code
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index fdb4335..f5430e9 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);
More information about the systemd-commits
mailing list