Thread (1 message) 1 message, 1 author, 2021-10-01

Re: [PATCH -next] clk/actions/owl-factor.c: remove superfluous headers

From: Manivannan Sadhasivam <mani@kernel.org>
Date: 2021-10-01 07:11:52
Also in: linux-clk, lkml

On Wed, Sep 29, 2021 at 02:58:24PM +0800, Mianhan Liu wrote:
owl-factor.c hasn't use any macro or function declared in linux/slab.h.
Thus, these files can be removed from owl-factor.c safely without
affecting the compilation of the ./drivers/clk module

Signed-off-by: Mianhan Liu <redacted>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>

Thanks,
Mani
quoted hunk
---
 drivers/clk/actions/owl-factor.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/clk/actions/owl-factor.c b/drivers/clk/actions/owl-factor.c
index f15e2621f..64f316cf7 100644
--- a/drivers/clk/actions/owl-factor.c
+++ b/drivers/clk/actions/owl-factor.c
@@ -10,7 +10,6 @@
 
 #include <linux/clk-provider.h>
 #include <linux/regmap.h>
-#include <linux/slab.h>
 
 #include "owl-factor.h"
 
-- 
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help