summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/unit.c')
-rw-r--r--src/core/unit.c3
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;