diff options
author | Mianhan Liu | 2021-09-29 03:38:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-10-05 16:21:10 +0200 |
commit | 30b7ecf731ae800f4231fae8dbf3b47cf3d39142 (patch) | |
tree | 5fd1de9dd97da348fe27fef69a5bc6a7293012c1 /drivers/base | |
parent | b39214911a548746e7375985c87cdaa8e1a0dfde (diff) |
drivers/base/component.c: remove superfluous header files from component.c
component.c hasn't use any macro or function declared in linux/kref.h.
Thus, these files can be removed from component.c safely without
affecting the compilation of the drivers/base/ module
Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
Link: https://lore.kernel.org/r/20210928193849.28717-1-liumh1@shanghaitech.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/component.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/component.c b/drivers/base/component.c index 5e79299f6c3f..6dc309913ccd 100644 --- a/drivers/base/component.c +++ b/drivers/base/component.c @@ -9,7 +9,6 @@ */ #include <linux/component.h> #include <linux/device.h> -#include <linux/kref.h> #include <linux/list.h> #include <linux/mutex.h> #include <linux/slab.h> |