sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
Subsystems (2)
PATCH 1/1 sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
It seems it was never used.
---
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/[email protected]/
--- include/linux/sysctl.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/sysctl.h +0 -2
@@ -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)
---
base-commit: a6fd07f80ab7bd94edb4d56c35e61117ffb9957e
change-id: 20231223-sysctl-perm-empty-dir-7a71b4e3867b
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>
Luis Chamberlain
AppliedQuoted 11 lines · Thomas Weißschuh
It seems it was never used.
Fixes 2f2665c13af4 ("sysctl: replace child with an enumeration")Signed-off-by Thomas Weißschuh <[email protected]>---
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.
Applied, and pushed! BTW:
$ b4 am -s [email protected] Grabbing thread from lore.kernel.org/all/[email protected]/t.mbox.gz Analyzing 1 messages in the thread Checking attestation on all messages, may take a moment... --- ✓ [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR + Signed-off-by: Luis Chamberlain <[email protected]> --- ✗ No key: ed25519/[email protected] ✓ Signed: DKIM/weissschuh.net
Luis
Quoted 11 lines · Luis Chamberlain
Quoted 10 lines · Thomas Weißschuh
It seems it was never used.
Fixes 2f2665c13af4 ("sysctl: replace child with an enumeration")Signed-off-by Thomas Weißschuh <[email protected]>---
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.
Quoted 3 lines
Quoted 1 line
Applied, and pushed! BTW:
Thanks!
Quoted 11 lines
$ b4 am -s [email protected] Grabbing thread from lore.kernel.org/all/[email protected]/t.mbox.gz Analyzing 1 messages in the thread Checking attestation on all messages, may take a moment... --- ✓ [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR + Signed-off-by: Luis Chamberlain <[email protected]> --- ✗ No key: ed25519/[email protected] ✓ Signed: DKIM/weissschuh.net
b4 needs a manual import of contributor keys for it to validate them:
https://b4.docs.kernel.org/en/latest/maintainer/kr.html
Thomas