[tip:ras/core] x86/mcelog: Remove one mce_helper definition

From: tip-bot for Sebastian Andrzej Siewior
Date: Wed Oct 17 2018 - 18:13:38 EST

Commit-ID: 711f76a328cbe5b49164bb14bcb593fa52102051
Gitweb: https://git.kernel.org/tip/711f76a328cbe5b49164bb14bcb593fa52102051
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Wed, 17 Oct 2018 19:05:53 +0200
Committer: Borislav Petkov <bp@xxxxxxx>
CommitDate: Thu, 18 Oct 2018 00:05:04 +0200

x86/mcelog: Remove one mce_helper definition


5de97c9f6d85f ("x86/mce: Factor out and deprecate the /dev/mcelog driver")

moved the old interface into one file including mce_helper definition as
static and "extern". Remove one.

Fixes: 5de97c9f6d85f ("x86/mce: Factor out and deprecate the /dev/mcelog driver")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
CC: "H. Peter Anvin" <hpa@xxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxxxxx>
CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CC: Tony Luck <tony.luck@xxxxxxxxx>
CC: linux-edac <linux-edac@xxxxxxxxxxxxxxx>
CC: x86-ml <x86@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/20181017170554.18841-3-bigeasy@xxxxxxxxxxxxx
arch/x86/kernel/cpu/mcheck/dev-mcelog.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/x86/kernel/cpu/mcheck/dev-mcelog.c b/arch/x86/kernel/cpu/mcheck/dev-mcelog.c
index 97685a0c3175..27f394ac983f 100644
--- a/arch/x86/kernel/cpu/mcheck/dev-mcelog.c
+++ b/arch/x86/kernel/cpu/mcheck/dev-mcelog.c
@@ -38,9 +38,6 @@ static struct mce_log_buffer mcelog = {

static DECLARE_WAIT_QUEUE_HEAD(mce_chrdev_wait);

-/* User mode helper program triggered by machine check event */
-extern char mce_helper[128];
static int dev_mce_log(struct notifier_block *nb, unsigned long val,
void *data)