summaryrefslogtreecommitdiff
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 03:38:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 16:21:10 +0200
commit30b7ecf731ae800f4231fae8dbf3b47cf3d39142 (patch)
tree5fd1de9dd97da348fe27fef69a5bc6a7293012c1 /drivers/base/component.c
parentb39214911a548746e7375985c87cdaa8e1a0dfde (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/component.c')
-rw-r--r--drivers/base/component.c1
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>