ia64 perfmon: Remove exit_pfm_fs()
PATCH 2/2 ia64 perfmon: Remove exit_pfm_fs()
From: "Satyam Sharma" <[email protected]>
Because it is dead code and not referenced by anybody else (that file cannot be built modular).
Signed-off-by Satyam Sharma <[email protected]>
Cc "Luck, Tony" <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/ia64/kernel/perfmon.c | 7 ------- 1 file changed, 7 deletions(-)
arch/ia64/kernel/perfmon.c renamed from arch/ia64/kernel/perfmon.c~ia64-perfmon-remove-exit_pfm_fs +0 -7
@@ -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) {
_
Hello Satyam,
Thanks for cleaning this up. I have also removed it from the newer perfmon2 code base.
Quoted 32 lines · On Tue, Oct 02, 2007 at 01:39:46PM -0700, [email protected] wrote:
From: "Satyam Sharma" <[email protected]>
Because it is dead code and not referenced by anybody else (that file cannot be built modular).
Signed-off-by Satyam Sharma <[email protected]>Cc "Luck, Tony" <[email protected]>Cc Stephane Eranian <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
arch/ia64/kernel/perfmon.c | 7 ------- 1 file changed, 7 deletions(-)diff -puN
arch/ia64/kernel/perfmon.c~ia64-perfmon-remove-exit_pfm_fsarch/ia64/kernel/perfmon.carch/ia64/kernel/perfmon.c renamed from arch/ia64/kernel/perfmon.c~ia64-perfmon-remove-exit_pfm_fs +0
-7@@ -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) {_
Signature · 1 line
-Stephane