2010-12-12 10:46:44

by Jovi Zhang

[permalink] [raw]
Subject: [PATCH 2/2] sysctl: remove invalid comments

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

Signed-off-by: Jovi Zhang <[email protected]>

kernel/sysctl.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 5abfa15..108c1d8 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -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
- */
{ }
};


2010-12-12 13:28:50

by Dave Young

[permalink] [raw]
Subject: Re: [PATCH 2/2] sysctl: remove invalid comments

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

>
> Signed-off-by: Jovi Zhang <[email protected]>
>
> kernel/sysctl.c | 17 -----------------
> 1 files changed, 0 insertions(+), 17 deletions(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 5abfa15..108c1d8 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -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
> - */
> { }
> };
>

2010-12-12 15:29:02

by Cong Wang

[permalink] [raw]
Subject: Re: [PATCH 2/2] sysctl: remove invalid comments

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
>
>Signed-off-by: Jovi Zhang <[email protected]>
>

Acked-by: WANG Cong <[email protected]>

Thanks.