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 | |
parent | 700e2d63b7458e57203355f840bd1dcc1fb46645 (diff) |
core: now that .snapshot unit are gone, we don't need the per-type .no_gc bool anymore
-rw-r--r-- | src/core/unit.c | 3 | ||||
-rw-r--r-- | src/core/unit.h | 3 |
2 files changed, 0 insertions, 6 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; diff --git a/src/core/unit.h b/src/core/unit.h index 14e3072146..bcf41d2348 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -403,9 +403,6 @@ struct UnitVTable { /* Instances make no sense for this type */ bool no_instances:1; - /* Exclude from automatic gc */ - bool no_gc:1; - /* True if transient units of this type are OK */ bool can_transient:1; }; |