summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2017-06-01 02:17:48 +0300
committerDarren Hart (VMware) <dvhart@infradead.org>2017-06-13 21:00:17 +0300
commitfeb4ec1412ab948c30dbf98cd9326825e8d49513 (patch)
tree06420764fe872893baa2d9e2b5fba74ddeac103c
parent0d2c95354a3b63256e92d9fb865c08902d2c9b0b (diff)
downloadlinux-feb4ec1412ab948c30dbf98cd9326825e8d49513.tar.xz
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 <alex.hung@canonical.com> Acked-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/panasonic-laptop.c4
1 files changed, 0 insertions, 4 deletions
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)
{