Skip to content

Commit 5614298

Browse files
t-8chmcgrof
authored andcommitted
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: 0199849 ("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>
1 parent 0b68ab5 commit 5614298

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

include/linux/sysctl.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ struct ctl_table_root {
210210
int (*permissions)(struct ctl_table_header *head, struct ctl_table *table);
211211
};
212212

213-
/* struct ctl_path describes where in the hierarchy a table is added */
214-
struct ctl_path {
215-
const char *procname;
216-
};
217-
218213
#define register_sysctl(path, table) \
219214
register_sysctl_sz(path, table, ARRAY_SIZE(table))
220215

0 commit comments

Comments
 (0)