diff mbox series

[-next] cxl: Remove duplicate included header file core.h

Message ID 20240830080016.3542184-1-lihongbo22@huawei.com
State Accepted
Commit fa724cd747cdc347cde0d2ef6ba4ee34344f72cb
Headers show
Series [-next] cxl: Remove duplicate included header file core.h | expand

Commit Message

Hongbo Li Aug. 30, 2024, 8 a.m. UTC
The header file core.h is included twice. Remove the last
one. The compilation test has passed.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
---
 drivers/cxl/core/cdat.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jonathan Cameron Aug. 30, 2024, 11:02 a.m. UTC | #1
On Fri, 30 Aug 2024 16:00:16 +0800
Hongbo Li <lihongbo22@huawei.com> wrote:

> The header file core.h is included twice. Remove the last
> one. The compilation test has passed.
> 
> Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> ---
>  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 bb83867d9fec..e2e1ccda88fa 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;
diff mbox series

Patch

diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c
index bb83867d9fec..e2e1ccda88fa 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;