Skip to content

Commit a72368d

Browse files
KAGA-KOKOIngo Molnar
authored andcommitted
x86: remove dead code and exports
No users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 02456c7 commit a72368d

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎arch/x86/kernel/process_64.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@ void idle_notifier_register(struct notifier_block *n)
7272
{
7373
atomic_notifier_chain_register(&idle_notifier, n);
7474
}
75-
EXPORT_SYMBOL_GPL(idle_notifier_register);
76-
77-
void idle_notifier_unregister(struct notifier_block *n)
78-
{
79-
atomic_notifier_chain_unregister(&idle_notifier, n);
80-
}
81-
EXPORT_SYMBOL(idle_notifier_unregister);
8275

8376
void enter_idle(void)
8477
{

‎include/asm-x86/idle.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
struct notifier_block;
88
void idle_notifier_register(struct notifier_block *n);
9-
void idle_notifier_unregister(struct notifier_block *n);
109

1110
void enter_idle(void);
1211
void exit_idle(void);

0 commit comments

Comments
 (0)