diff mbox

platform/x86: panasonic-laptop: remove unused code

Message ID 1496272668-25875-1-git-send-email-alex.hung@canonical.com (mailing list archive)
State Accepted, archived
Delegated to: Andy Shevchenko
Headers show

Commit Message

Alex Hung May 31, 2017, 11:17 p.m. UTC
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>
---
 drivers/platform/x86/panasonic-laptop.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Harald Welte June 1, 2017, 6:11 a.m. UTC | #1
On Wed, May 31, 2017 at 04:17:48PM -0700, Alex Hung wrote:
> 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>
Andy Shevchenko June 7, 2017, 2:41 p.m. UTC | #2
On Thu, Jun 1, 2017 at 9:11 AM, Harald Welte <laforge@gnumonks.org> wrote:
> On Wed, May 31, 2017 at 04:17:48PM -0700, Alex Hung wrote:
>> 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>

Pushed to testing, thanks!

> --
> - Harald Welte <laforge@gnumonks.org>           http://laforge.gnumonks.org/
> ============================================================================
> "Privacy in residential applications is a desirable marketing option."
>                                                   (ETSI EN 300 175-7 Ch. A6)
diff mbox

Patch

diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c
index 975f4e1..76b0a58 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)
 {