From: Alex Hung Date: Wed, 31 May 2017 23:17:48 +0000 (-0700) Subject: platform/x86: panasonic-laptop: remove unused code X-Git-Tag: v4.13-rc1~135^2~26 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=feb4ec1412ab948c30dbf98cd9326825e8d49513;p=linux.git platform/x86: panasonic-laptop: remove unused code The struct pcc_keyinput is not used in panasonic-laptop and in anywhere in kernel, and it can be removed. Signed-off-by: Alex Hung Acked-by: Harald Welte Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index 975f4e100dbd..76b0a58e205b 100644 --- a/drivers/platform/x86/panasonic-laptop.c +++ b/drivers/platform/x86/panasonic-laptop.c @@ -228,10 +228,6 @@ struct pcc_acpi { struct backlight_device *backlight; }; -struct pcc_keyinput { - struct acpi_hotkey *hotkey; -}; - /* method access functions */ static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) {