Skip to contentSkip to conversation

misc: remove redundant include moduleparam.h

PATCH Superseded zhong jiang 3 participants 4 messages Sep 18, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: remove redundant include moduleparam.h

module.h already contains moduleparam.h, so it is safe to remove the redundant include.

The issue is detected with the help of Coccinelle.

eePlease enter the commit message for your changes. Lines starting

---
 drivers/misc/mei/bus-fixup.c      | 1 -
 drivers/misc/vmw_vmci/vmci_host.c | 1 -
 2 files changed, 2 deletions(-)
drivers/misc/mei/bus-fixup.c +0 -1
index a6f41f9..80215c3 100644
@@ -17,7 +17,6 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/device.h>
 #include <linux/slab.h>
 #include <linux/uuid.h>
drivers/misc/vmw_vmci/vmci_host.c +0 -1
index 83e0c95..be732e5 100644
@@ -15,7 +15,6 @@
 
 #include <linux/vmw_vmci_defs.h>
 #include <linux/vmw_vmci_api.h>
-#include <linux/moduleparam.h>
 #include <linux/miscdevice.h>
 #include <linux/interrupt.h>
 #include <linux/highmem.h>
Signature · 1 line
1.7.12.4
#1 lore raw

drivers/misc/mei/bus-fixup.c

Quoted 17 lines

module.h already contains moduleparam.h, so it is safe to remove the redundant include.

The issue is detected with the help of Coccinelle.

eePlease enter the commit message for your changes. Lines starting

---
 drivers/misc/mei/bus-fixup.c      | 1 -
 drivers/misc/vmw_vmci/vmci_host.c | 1 -
 2 files changed, 2 deletions(-)
drivers/misc/mei/bus-fixup.c index renamed from drivers/misc/mei/bus-fixup.c +0 -0

a6f41f9..80215c3 100644

drivers/misc/mei/bus-fixup.c +0 -0

Ack.
Tomas

Quoted 23 lines
drivers/misc/mei/bus-fixup.c +0 -1
@@ -17,7 +17,6 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/device.h>
 #include <linux/slab.h>
 #include <linux/uuid.h>
drivers/misc/vmw_vmci/vmci_host.c +0 -2
index 83e0c95..be732e5 100644
@@ -15,7 +15,6 @@
 
 #include <linux/vmw_vmci_defs.h>
 #include <linux/vmw_vmci_api.h>
-#include <linux/moduleparam.h>
 #include <linux/miscdevice.h>
 #include <linux/interrupt.h>
 #include <linux/highmem.h>
--

1.7.12.4

maintainer
#2 lore raw
In reply to zhong jiang
Quoted 6 lines · zhong jiang

module.h already contains moduleparam.h, so it is safe to remove the redundant include.

The issue is detected with the help of Coccinelle.

eePlease enter the commit message for your changes. Lines starting

Odd line to have in a changelog text :)

Please fix up and resend.

tanks,

greg k-h

#3 lore raw
Quoted 10 lines · Greg KH
Quoted 6 lines · zhong jiang

module.h already contains moduleparam.h, so it is safe to remove the redundant include.

The issue is detected with the help of Coccinelle.

eePlease enter the commit message for your changes. Lines starting

Odd line to have in a changelog text :)

Please fix up and resend.

It's my fault to have a odd line. I will resend. Thanks.

Sincerely,
zhong jiang

Quoted 6 lines

tanks,

greg k-h

.