From: Luca Boccassi Date: Thu, 6 Aug 2020 18:06:22 +0000 (+0100) Subject: core: cleanup unused variables X-Git-Tag: v247-rc1~389^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c20acbb2bd0810f6832b71e62624ec065dd0457f;p=thirdparty%2Fsystemd.git core: cleanup unused variables Leftovers from previous implementation of MountImages feature, unused now --- diff --git a/src/core/namespace.c b/src/core/namespace.c index 858ccc4118e..16e12c59fc4 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -73,7 +73,6 @@ typedef struct MountEntry { char *options_malloc; unsigned long flags; /* Mount flags used by EMPTY_DIR and TMPFS. Do not include MS_RDONLY here, but please use read_only. */ unsigned n_followed; - LIST_FIELDS(MountEntry, mount_entry); } MountEntry; /* If MountAPIVFS= is used, let's mount /sys and /proc into the it, but only as a fallback if the user hasn't mounted diff --git a/src/core/namespace.h b/src/core/namespace.h index d1e0a285622..e41d2aa68d9 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -9,7 +9,6 @@ typedef struct NamespaceInfo NamespaceInfo; typedef struct BindMount BindMount; typedef struct TemporaryFileSystem TemporaryFileSystem; typedef struct MountImage MountImage; -typedef struct MountEntry MountEntry; #include