From patchwork Sat Dec 23 13:53:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13503994 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D14CD50C; Sat, 23 Dec 2023 13:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="qkAK/xX4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1703339632; bh=Ee0tYNZexbPVXAGBvkDgOutqhhXAAC/AoPNZbvbdlwM=; h=From:Date:Subject:To:Cc:From; b=qkAK/xX4+e5Fm9Cwe7OnOwVnV3kjMEg9u3ylyIVLiBHA3e1ArPhlQtGagyQ2lCdIK HTAfOuwONryfUtIjex6bSDxVWMBj330uWDv1H+TO6tHtyrd0fCxDvz22RMRV2EBWd1 Jji8iFDS7WkCgIZh+BRrcu9IfeAPGdzwKCkO8o4I= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sat, 23 Dec 2023 14:53:47 +0100 Subject: [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAGrmhmUC/x3MSQqAMAxA0atI1gZsK1a8irhwiBpwKImIIt7d4 vIt/n9ASZgUquQBoZOV9y3CpAn0c7tNhDxEg82sM9Y61Fv7Y8FAsiKt4bhxYEHfetPl5MrCdxD bIDTy9X/r5n0/9/DM6mcAAAA= To: Luis Chamberlain , Kees Cook , Joel Granados Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, =?utf-8?q?T?= =?utf-8?q?homas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703339632; l=1129; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Ee0tYNZexbPVXAGBvkDgOutqhhXAAC/AoPNZbvbdlwM=; b=gJ/VXmLeL0bESGRyabJyAwZYHRnxzRKg56eMMUH5IRbfzzw5lW+AHQX9vifII3taleCjDsyZc 6Kg/7BD5jDpD/nwKYUSTSJGlNgKSh2r6CXmQydMIHR32kin7ikCdMgN X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= It seems it was never used. Fixes: 2f2665c13af4 ("sysctl: replace child with an enumeration") Signed-off-by: Thomas Weißschuh --- This was originally part of the sysctl-const series [0], but it doesn't really belong in there. To slim down that series as much as possible, submit this patch on its own. [0] https://lore.kernel.org/lkml/20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net/ --- include/linux/sysctl.h | 2 -- 1 file changed, 2 deletions(-) --- base-commit: a6fd07f80ab7bd94edb4d56c35e61117ffb9957e change-id: 20231223-sysctl-perm-empty-dir-7a71b4e3867b Best regards, diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 61b40ea81f4d..26a38161c28f 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -255,8 +255,6 @@ extern int unaligned_enabled; extern int unaligned_dump_stack; extern int no_unaligned_warning; -#define SYSCTL_PERM_EMPTY_DIR (1 << 0) - #else /* CONFIG_SYSCTL */ static inline void register_sysctl_init(const char *path, struct ctl_table *table)