* [patch 2/2] ia64 perfmon: Remove exit_pfm_fs()
@ 2007-10-02 20:39 akpm
2007-10-03 6:11 ` Stephane Eranian
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-10-02 20:39 UTC (permalink / raw)
To: linux-ia64
From: "Satyam Sharma" <satyam.sharma@gmail.com>
Because it is dead code and not referenced by anybody else (that file cannot
be built modular).
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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)
{
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 2/2] ia64 perfmon: Remove exit_pfm_fs()
2007-10-02 20:39 [patch 2/2] ia64 perfmon: Remove exit_pfm_fs() akpm
@ 2007-10-03 6:11 ` Stephane Eranian
0 siblings, 0 replies; 2+ messages in thread
From: Stephane Eranian @ 2007-10-03 6:11 UTC (permalink / raw)
To: linux-ia64
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@linux-foundation.org wrote:
> From: "Satyam Sharma" <satyam.sharma@gmail.com>
>
> Because it is dead code and not referenced by anybody else (that file cannot
> be built modular).
>
> Signed-off-by: Satyam Sharma <satyam@infradead.org>
> Cc: "Luck, Tony" <tony.luck@intel.com>
> Cc: Stephane Eranian <eranian@hpl.hp.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-03 6:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 20:39 [patch 2/2] ia64 perfmon: Remove exit_pfm_fs() akpm
2007-10-03 6:11 ` Stephane Eranian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox