aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-12-20 22:23:35 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2023-12-28 05:02:42 -0800
commit561429807d50aad76f1205b0b1d7b4aacf365d4e (patch)
tree813a74e88f070f8a446e21b46679ec9223d1c104 /include/linux/sysctl.h
parent0b68ab50b8101a35b51fb9ec203cd988e47dbed3 (diff)
downloadlinux-561429807d50aad76f1205b0b1d7b4aacf365d4e.tar.gz
sysctl: remove struct ctl_path
All usages of this struct have been removed from the kernel tree. The struct is still referenced by scripts/check-sysctl-docs but that script is broken anyways as it only supports the register_sysctl_paths() API and not the currently used register_sysctl() one. Fixes: 0199849acd07 ("sysctl: remove register_sysctl_paths()") Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 26a38161c28f9..ee7d33b89e9ef 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -210,11 +210,6 @@ struct ctl_table_root {
int (*permissions)(struct ctl_table_header *head, struct ctl_table *table);
};
-/* struct ctl_path describes where in the hierarchy a table is added */
-struct ctl_path {
- const char *procname;
-};
-
#define register_sysctl(path, table) \
register_sysctl_sz(path, table, ARRAY_SIZE(table))