diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-11 02:24:45 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-11 02:24:45 +0100 |
commit | 827d04b68b2bd87bbbd4995b02454e5fe0baa27b (patch) | |
tree | 7d4a84b5672b779ed4652ca927371c6d6723ea2f /src/core/service.c | |
parent | 8b61781d80ab91e38bd2502a8e1ad612607a29e1 (diff) | |
parent | 36b4a7ba555540edb7648e0f97019280b4ac38de (diff) |
Merge pull request #1841 from keszybz/remove-snapshot
Remove snapshot unit type
Diffstat (limited to 'src/core/service.c')
-rw-r--r-- | src/core/service.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/service.c b/src/core/service.c index 586eddd99a..74bbadd3ff 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2365,14 +2365,6 @@ static bool service_check_gc(Unit *u) { return false; } -_pure_ static bool service_check_snapshot(Unit *u) { - Service *s = SERVICE(u); - - assert(s); - - return s->socket_fd < 0; -} - static int service_retry_pid_file(Service *s) { int r; @@ -3294,7 +3286,6 @@ const UnitVTable service_vtable = { .sub_state_to_string = service_sub_state_to_string, .check_gc = service_check_gc, - .check_snapshot = service_check_snapshot, .sigchld_event = service_sigchld_event, |