diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-12-09 12:57:40 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-12-19 11:34:15 +0100 |
commit | 32786fdc9506aeba98278c1844d4bfb766863832 (patch) | |
tree | ca93ea4e50bc1fb931c5e8e980e2b2593d83786e /arch/x86/kernel/x86_init.c | |
parent | d79e141c1c6ea7cb70c169971d522b88c8d5b419 (diff) | |
download | linux-stable-32786fdc9506aeba98278c1844d4bfb766863832.tar.gz linux-stable-32786fdc9506aeba98278c1844d4bfb766863832.tar.bz2 linux-stable-32786fdc9506aeba98278c1844d4bfb766863832.zip |
x86/init: Remove i8042_detect() from platform ops
Now that i8042 uses flag in legacy platform data, i8042_detect() is
no longer used and can be removed.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Cc: linux-input@vger.kernel.org
Link: http://lkml.kernel.org/r/1481317061-31486-4-git-send-email-dmitry.torokhov@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 0bd9f1287f39..11a93f005268 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c @@ -89,7 +89,6 @@ struct x86_cpuinit_ops x86_cpuinit = { }; static void default_nmi_init(void) { }; -static int default_i8042_detect(void) { return 1; }; struct x86_platform_ops x86_platform __ro_after_init = { .calibrate_cpu = native_calibrate_cpu, @@ -100,7 +99,6 @@ struct x86_platform_ops x86_platform __ro_after_init = { .is_untracked_pat_range = is_ISA_range, .nmi_init = default_nmi_init, .get_nmi_reason = default_get_nmi_reason, - .i8042_detect = default_i8042_detect, .save_sched_clock_state = tsc_save_sched_clock_state, .restore_sched_clock_state = tsc_restore_sched_clock_state, }; |