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

Manivannan Sadhasivam mani at kernel.org
Fri Oct 1 00:11:42 PDT 2021


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 at shanghaitech.edu.cn>

Reviewed-by: Manivannan Sadhasivam <mani at kernel.org>

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
> 
> 



More information about the linux-actions mailing list