Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1399492
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] of/unittest: Remove unnecessary module.h header inclusion |
| Date | 2016-05-11 22:30 +0200 |
| Message-ID | <rxIVz-7kR-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The OF_UNITTEST Kconfig symbol is bool so this unittest can only be built-in and not build as a module. Also, nothing defined in this header file used so is not necessary to include it. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> --- drivers/of/unittest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index fd6318a91fa3..f34ed9310323 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -8,7 +8,6 @@ #include <linux/err.h> #include <linux/errno.h> #include <linux/hashtable.h> -#include <linux/module.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_irq.h> -- 2.5.5
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] of/unittest: Remove unnecessary module.h header inclusion Javier Martinez Canillas <javier@osg.samsung.com> - 2016-05-11 22:30 +0200
csiph-web