]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: cleanup unused variables
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 6 Aug 2020 18:06:22 +0000 (19:06 +0100)
committerLuca Boccassi <bluca@debian.org>
Thu, 20 Aug 2020 12:24:32 +0000 (13:24 +0100)
Leftovers from previous implementation of MountImages feature, unused now

src/core/namespace.c
src/core/namespace.h

index 858ccc4118e7351c763624f8f312564b1684157b..16e12c59fc4f57a0125a548d5b25ad4661237fef 100644 (file)
@@ -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
index d1e0a285622e8e24b5bd1dfdb4eebfe73ea6c9de..e41d2aa68d9967f1f4a88be056a521f1d3526296 100644 (file)
@@ -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 <stdbool.h>