From c20acbb2bd0810f6832b71e62624ec065dd0457f Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 6 Aug 2020 19:06:22 +0100 Subject: [PATCH] core: cleanup unused variables Leftovers from previous implementation of MountImages feature, unused now --- src/core/namespace.c | 1 - src/core/namespace.h | 1 - 2 files changed, 2 deletions(-) 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 -- 2.47.3