hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/ia64/oprofile/init.c
....@@ -18,21 +18,11 @@
1818
1919 int __init oprofile_arch_init(struct oprofile_operations *ops)
2020 {
21
- int ret = -ENODEV;
22
-
23
-#ifdef CONFIG_PERFMON
24
- /* perfmon_init() can fail, but we have no way to report it */
25
- ret = perfmon_init(ops);
26
-#endif
2721 ops->backtrace = ia64_backtrace;
28
-
29
- return ret;
22
+ return -ENODEV;
3023 }
3124
3225
3326 void oprofile_arch_exit(void)
3427 {
35
-#ifdef CONFIG_PERFMON
36
- perfmon_exit();
37
-#endif
3828 }