Skip to contentSkip to conversation

misc: remove redundant include moduleparam.h

PATCH New zhong jiang 1 participant 1 message Sep 18, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

---
 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