Skip to contentSkip to conversation

hp_wireless: remove unused header files

PATCH In review Alex Hung 2 participants 2 messages Jun 10, 2015 – Jun 18, 2015 x86 platform drivers

lore
Share & tools
lore

Alex Hung

author
#0 lore raw

PATCH 1/1 hp_wireless: remove unused header files

---
 drivers/platform/x86/hp-wireless.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/platform/x86/hp-wireless.c +0 -3
index 4e4cc8b..731c69b 100644
@@ -18,11 +18,8 @@
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/init.h>
 #include <linux/input.h>
-#include <linux/platform_device.h>
 #include <linux/acpi.h>
 #include <acpi/acpi_bus.h>
 
Signature · 1 line
1.7.9.5
#1 lore raw

On Wed, Jun 10, 2015 at 05:26:27PM +0800, Alex Hung wrote:

No commit message again.

If you feel there is nothing to say in the commit message, do a git log search for similar patches for examples of what is relevant. (There are several for removing unused header files)

Please don't send another like this.

Quoted 11 lines
---
 drivers/platform/x86/hp-wireless.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/platform/x86/hp-wireless.c +0 -0
index 4e4cc8b..731c69b 100644
@@ -18,11 +18,8 @@
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

drivers/platform/x86/hp-wireless.c line 25

Quoted 10 lines
drivers/platform/x86/hp-wireless.c +0 -3
  */
 
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/init.h>
 #include <linux/input.h>
-#include <linux/platform_device.h>
 #include <linux/acpi.h>
 #include <acpi/acpi_bus.h>
 

What was your motivation here? Did you observe a change in the driver? A subsystem? Run a tool?

Note that acpi.h also includes acpi/acpi_bus.h, so it isn't strictly necessary either.

Please explain your motivation and rationale. If it's worth preparing, building, and testing, it's worth documenting.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center