[1/2] drivers/component: remove modular code

Message ID 20191123163633.27227-1-yamada.masahiro@socionext.com
State New
Headers show
Series
  • [1/2] drivers/component: remove modular code
Related show

Commit Message

Masahiro Yamada Nov. 23, 2019, 4:36 p.m.
component.o is added to obj-y. Hence this is never compiled as
a module.

Remove meaningless modular code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 drivers/base/component.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.17.1

Patch

diff --git a/drivers/base/component.c b/drivers/base/component.c
index 532a3a5d8f63..3a09036e772a 100644
--- a/drivers/base/component.c
+++ b/drivers/base/component.c
@@ -11,7 +11,6 @@ 
 #include <linux/device.h>
 #include <linux/kref.h>
 #include <linux/list.h>
-#include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/slab.h>
 #include <linux/debugfs.h>
@@ -775,5 +774,3 @@  void component_del(struct device *dev, const struct component_ops *ops)
 	kfree(component);
 }
 EXPORT_SYMBOL_GPL(component_del);
-
-MODULE_LICENSE("GPL v2");