diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-24 16:09:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-24 16:24:07 +0100 |
commit | dedabea4b3d61a87cedb5c8d7ccce5b86ea84afe (patch) | |
tree | b6354569c3e6e0037d3bed0a12a11569026e457c /src/core/load-fragment.c | |
parent | e955c45881eec5895fa10bf107bee3fafed38645 (diff) |
timer: support timers that can resume the system from suspend
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index fa4e931b23..e7779d1625 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -1254,7 +1254,6 @@ int config_parse_timer(const char *unit, TimerValue *v; TimerBase b; CalendarSpec *c = NULL; - clockid_t id; assert(filename); assert(lvalue); @@ -1281,8 +1280,6 @@ int config_parse_timer(const char *unit, rvalue); return 0; } - - id = CLOCK_REALTIME; } else { if (parse_sec(rvalue, &u) < 0) { log_syntax(unit, LOG_ERR, filename, line, EINVAL, @@ -1290,8 +1287,6 @@ int config_parse_timer(const char *unit, rvalue); return 0; } - - id = CLOCK_MONOTONIC; } v = new0(TimerValue, 1); @@ -1299,7 +1294,6 @@ int config_parse_timer(const char *unit, return log_oom(); v->base = b; - v->clock_id = id; v->value = u; v->calendar_spec = c; |