staging: greybus: Remove unneeded header file
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
@@ -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
Quoted 10 lines · Gargi Sharma
module.hcontains a call tomoduleparam.hmaking 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>Signed-off-by Gargi Sharma <[email protected]>---
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@@ -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.