Re: [resend][PATCH] Remove duplicated declarations in procfs

From: Andrew Morton
Date: Fri Sep 28 2007 - 03:40:28 EST


On Fri, 28 Sep 2007 09:27:56 +0200 Pierre Peiffer <pierre.peiffer@xxxxxxxx> wrote:

> From: Pierre Peiffer <pierre.peiffer@xxxxxxxx>
>
> This is a trivial patch that removes some duplicated declarations of
> extern variables.
>
> Signed-off-by: Pierre Peiffer <pierre.peiffer@xxxxxxxx>
> ---
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/