summaryrefslogtreecommitdiff
path: root/src/portable/portable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portable/portable.c')
-rw-r--r--src/portable/portable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c
index a9ced3c865..4cf5fb4f0a 100644
--- a/src/portable/portable.c
+++ b/src/portable/portable.c
@@ -312,7 +312,6 @@ static int extract_now(
if (hashmap_get(unit_files, de->d_name))
continue;
- dirent_ensure_type(d, de);
if (!IN_SET(de->d_type, DT_LNK, DT_REG))
continue;
@@ -1397,7 +1396,6 @@ int portable_detach(
if (set_contains(unit_files, de->d_name))
continue;
- dirent_ensure_type(d, de);
if (!IN_SET(de->d_type, DT_LNK, DT_REG))
continue;
@@ -1570,7 +1568,6 @@ static int portable_get_state_internal(
if (set_contains(unit_files, de->d_name))
continue;
- dirent_ensure_type(d, de);
if (!IN_SET(de->d_type, DT_LNK, DT_REG))
continue;