summaryrefslogtreecommitdiff
path: root/src/basic/unit-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/unit-file.c')
-rw-r--r--src/basic/unit-file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c
index f20ae4dbe5..884a0674a9 100644
--- a/src/basic/unit-file.c
+++ b/src/basic/unit-file.c
@@ -321,7 +321,6 @@ int unit_file_build_name_map(
if (hashmap_contains(ids, de->d_name))
continue;
- dirent_ensure_type(d, de);
if (de->d_type == DT_LNK) {
/* We don't explicitly check for alias loops here. unit_ids_map_get() which
* limits the number of hops should be used to access the map. */