Mailing List Archive

[resend][PATCH] Remove duplicated declarations in procfs
From: Pierre Peiffer <pierre.peiffer@bull.net>

This is a trivial patch that removes some duplicated declarations of
extern variables.

Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
---

fs/proc/internal.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index b215c35..d812816 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -50,10 +50,6 @@ extern const struct file_operations proc_maps_operations;
extern const struct file_operations proc_numa_maps_operations;
extern const struct file_operations proc_smaps_operations;

-extern const struct file_operations proc_maps_operations;
-extern const struct file_operations proc_numa_maps_operations;
-extern const struct file_operations proc_smaps_operations;
-

void free_proc_entry(struct proc_dir_entry *de);


--
Pierre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Re: [resend][PATCH] Remove duplicated declarations in procfs [ In reply to ]
On Fri, 28 Sep 2007 09:27:56 +0200 Pierre Peiffer <pierre.peiffer@bull.net> wrote:

> From: Pierre Peiffer <pierre.peiffer@bull.net>
>
> This is a trivial patch that removes some duplicated declarations of
> extern variables.
>
> Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
> ---
>
> fs/proc/internal.h | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/fs/proc/internal.h b/fs/proc/internal.h
> index b215c35..d812816 100644
> --- a/fs/proc/internal.h
> +++ b/fs/proc/internal.h
> @@ -50,10 +50,6 @@ extern const struct file_operations proc_maps_operations;
> extern const struct file_operations proc_numa_maps_operations;
> extern const struct file_operations proc_smaps_operations;
>
> -extern const struct file_operations proc_maps_operations;
> -extern const struct file_operations proc_numa_maps_operations;
> -extern const struct file_operations proc_smaps_operations;
> -
>
> void free_proc_entry(struct proc_dir_entry *de);

yup, thanks, the maps2 patches in -mm already accidentally fixed this so I haven't
bothered merging it as a standalone thing.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Re: [resend][PATCH] Remove duplicated declarations in procfs [ In reply to ]
Andrew Morton a écrit :
>
> yup, thanks, the maps2 patches in -mm already accidentally fixed this so I haven't
> bothered merging it as a standalone thing.
>
Ok, good.

Thanks,

--
Pierre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/