Skip to contentSkip to conversation

sysctl: remove invalid comments

PATCH In review [email protected] 3 participants 3 messages Dec 12, 2010 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 sysctl: remove invalid comments

ctl_unnumbered.txt have been removed in Documentation directory so just also remove this invalid comments

 kernel/sysctl.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
kernel/sysctl.c +0 -17
index 5abfa15..108c1d8 100644
@@ -245,10 +245,6 @@ static struct ctl_table root_table[] = {
 		.mode		= 0555,
 		.child		= dev_table,
 	},
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -963,10 +959,6 @@ static struct ctl_table kern_table[] = {
 		.proc_handler	= proc_dointvec,
 	},
 #endif
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -1327,11 +1319,6 @@ static struct ctl_table vm_table[] = {
 		.extra2		= &one,
 	},
 #endif
-
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -1487,10 +1474,6 @@ static struct ctl_table fs_table[] = {
 		.proc_handler	= &pipe_proc_fn,
 		.extra1		= &pipe_min_size,
 	},
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
#1 lore raw
Quoted 2 lines · On Fri, Dec 10, 2010 at 10:06:36PM -0500, [email protected] wrote:

ctl_unnumbered.txt have been removed in Documentation directory so just also remove this invalid comments

Please also fix Documentation/sysctl/00-INDEX

Quoted 55 lines
 kernel/sysctl.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
kernel/sysctl.c +0 -17
index 5abfa15..108c1d8 100644
@@ -245,10 +245,6 @@ static struct ctl_table root_table[] = {
 		.mode		= 0555,
 		.child		= dev_table,
 	},
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -963,10 +959,6 @@ static struct ctl_table kern_table[] = {
 		.proc_handler	= proc_dointvec,
 	},
 #endif
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -1327,11 +1319,6 @@ static struct ctl_table vm_table[] = {
 		.extra2		= &one,
 	},
 #endif
-
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };
 
@@ -1487,10 +1474,6 @@ static struct ctl_table fs_table[] = {
 		.proc_handler	= &pipe_proc_fn,
 		.extra1		= &pipe_min_size,
 	},
-/*
- * NOTE: do not add new entries to this table unless you have read
- * Documentation/sysctl/ctl_unnumbered.txt
- */
 	{ }
 };