From 30b7ecf731ae800f4231fae8dbf3b47cf3d39142 Mon Sep 17 00:00:00 2001 From: Mianhan Liu <liumh1@shanghaitech.edu.cn> Date: Wed, 29 Sep 2021 03:38:49 +0800 Subject: [PATCH] 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> --- drivers/base/component.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/base/component.c b/drivers/base/component.c index 5e79299f6c3ff..6dc309913ccdb 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> -- GitLab