kernel/arch/ia64/oprofile/init.c
.. .. @@ -18,21 +18,11 @@ 18 18 19 19 int __init oprofile_arch_init(struct oprofile_operations *ops) 20 20 { 21 - int ret = -ENODEV;22 -23 -#ifdef CONFIG_PERFMON24 - /* perfmon_init() can fail, but we have no way to report it */25 - ret = perfmon_init(ops);26 -#endif27 21 ops->backtrace = ia64_backtrace; 28 -29 - return ret;22 + return -ENODEV;30 23 } 31 24 32 25 33 26 void oprofile_arch_exit(void) 34 27 { 35 -#ifdef CONFIG_PERFMON36 - perfmon_exit();37 -#endif38 28 }