Skip to contentSkip to conversation

staging: greybus: Remove unneeded header file

PATCH Superseded Gargi Sharma 2 participants 2 messages Mar 8, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: greybus: Remove unneeded header file

module.h contains a call to moduleparam.h making the call to it redundant and useless.

The Coccinelle semantic patch used to make this change is as follows:
@ includesmodule @
@@

@ depends on includesmodule @
@@

- #include <linux/moduleparam.h>

---
Changes in v2:
- Added the missing line to the script.

---
 drivers/staging/greybus/gbphy.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/greybus/gbphy.c +0 -1
index 64a1eb9..603de6f 100644
@@ -11,7 +11,6 @@
 
 #include <linux/types.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/device.h>
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Gargi Sharma

module.h contains a call to moduleparam.h making the call to it redundant and useless.

The Coccinelle semantic patch used to make this change is as follows:
@ includesmodule @
@@

@ depends on includesmodule @
@@

Quoted 6 lines

- #include <linux/moduleparam.h>

---
Changes in v2:
- Added the missing line to the script.

It's still not there.

julia

Quoted 26 lines
---
 drivers/staging/greybus/gbphy.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/greybus/gbphy.c +0 -2
index 64a1eb9..603de6f 100644
@@ -11,7 +11,6 @@
 
 #include <linux/types.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/device.h>
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1488984963-9642-1-git-send-email-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.