platform/x86: panasonic-laptop: remove unused code
authorAlex Hung <alex.hung@canonical.com>
Wed, 31 May 2017 23:17:48 +0000 (16:17 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 13 Jun 2017 18:00:17 +0000 (11:00 -0700)
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 <alex.hung@canonical.com>
Acked-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/panasonic-laptop.c

index 975f4e1..76b0a58 100644 (file)
@@ -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)
 {