Re: [PATCH -next] cxl: Remove duplicated include in cdat.c
From: Dave Jiang
Date: Thu Jan 11 2024 - 18:55:20 EST
On 1/8/24 17:47, Yang Li wrote:
> The header files core.h is included twice in cdat.c,
> so one inclusion can be removed.
>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> ---
> drivers/cxl/core/cdat.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c
> index f5e649407b8b..6fe11546889f 100644
> --- a/drivers/cxl/core/cdat.c
> +++ b/drivers/cxl/core/cdat.c
> @@ -9,7 +9,6 @@
> #include "cxlmem.h"
> #include "core.h"
> #include "cxl.h"
> -#include "core.h"
>
> struct dsmas_entry {
> struct range dpa_range;