diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-13 18:48:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-13 19:50:52 +0100 |
commit | 702d4e6f14b0c92f7325fcdc3650c79c2221849e (patch) | |
tree | eac142e1888ca36ec8e6543b81d820f31e5fba8b /src/core/unit.c | |
parent | 700e2d63b7458e57203355f840bd1dcc1fb46645 (diff) | |
download | systemd-702d4e6f14b0c92f7325fcdc3650c79c2221849e.tar.gz |
core: now that .snapshot unit are gone, we don't need the per-type .no_gc bool anymore
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index a5872ef30a..d199d87bf8 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -317,9 +317,6 @@ bool unit_check_gc(Unit *u) { if (state != UNIT_INACTIVE) return true; - if (UNIT_VTABLE(u)->no_gc) - return true; - if (u->no_gc) return true; |