Skip to contentSkip to conversation

platform/x86: panasonic-laptop: remove unused code

PATCH In review Alex Hung 3 participants 3 messages May 31, 2017 – Jun 7, 2017

Subsystems (2)
lore
Share & tools
lore

Alex Hung

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/platform/x86/panasonic-laptop.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/platform/x86/panasonic-laptop.c +0 -4
index 975f4e1..76b0a58 100644
@@ -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)
 {
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alex Hung

The struct pcc_keyinput is not used in panasonic-laptop and in anywhere in kernel, and it can be removed.

Signature · 4 lines
- Harald Welte <[email protected]>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
#2 lore raw
Quoted 7 lines · Harald Welte
Quoted 4 lines · Alex Hung

The struct pcc_keyinput is not used in panasonic-laptop and in anywhere in kernel, and it can be removed.

Pushed to testing, thanks!

Quoted 5 lines

--
- Harald Welte <[email protected]> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."

                                                  (ETSI EN 300 175-7 Ch. A6)
Signature · 2 lines
With Best Regards,
Andy Shevchenko