Commit 56142980 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Luis Chamberlain
Browse files

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: 0199849a ("sysctl: remove register_sysctl_paths()")
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Reviewed-by: default avatarJoel Granados <j.granados@samsung.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 0b68ab50
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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))