drivers/base/component.c: remove superfluous header files from component.c
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Tue, 28 Sep 2021 19:38:49 +0000 (03:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:21:10 +0000 (16:21 +0200)
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>
drivers/base/component.c

index 5e79299f6c3ffdcb0070292c76f7be1a29cc8656..6dc309913ccdbc2bad8cf35c421c13366dac0514 100644 (file)
@@ -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>