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

From: Manivannan Sadhasivam
Date: Fri Oct 01 2021 - 03:11:52 EST


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 <liumh1@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Manivannan Sadhasivam <mani@xxxxxxxxxx>

Thanks,
Mani
>
> ---
> 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
>
>