Re: [patch 2/2] ia64 perfmon: Remove exit_pfm_fs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Satyam,

Thanks for cleaning this up. I have also removed it from the newer
perfmon2 code base.

On Tue, Oct 02, 2007 at 01:39:46PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: "Satyam Sharma" <satyam.sharma@xxxxxxxxx>
> 
> Because it is dead code and not referenced by anybody else (that file cannot
> be built modular).
> 
> Signed-off-by: Satyam Sharma <satyam@xxxxxxxxxxxxx>
> Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
> Cc: Stephane Eranian <eranian@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
> 
>  arch/ia64/kernel/perfmon.c |    7 -------
>  1 file changed, 7 deletions(-)
> 
> diff -puN arch/ia64/kernel/perfmon.c~ia64-perfmon-remove-exit_pfm_fs arch/ia64/kernel/perfmon.c
> --- a/arch/ia64/kernel/perfmon.c~ia64-perfmon-remove-exit_pfm_fs
> +++ a/arch/ia64/kernel/perfmon.c
> @@ -1538,13 +1538,6 @@ init_pfm_fs(void)
>  	return err;
>  }
>  
> -static void __exit
> -exit_pfm_fs(void)
> -{
> -	unregister_filesystem(&pfm_fs_type);
> -	mntput(pfmfs_mnt);
> -}
> -
>  static ssize_t
>  pfm_read(struct file *filp, char __user *buf, size_t size, loff_t *ppos)
>  {
> _

-- 

-Stephane
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux