lkml.org 
[lkml]   [2024]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] cxl: Remove duplicated include in cdat.c
On Tue, 9 Jan 2024 08:47:28 +0800
Yang Li <yang.lee@linux.alibaba.com> 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@linux.alibaba.com>
Obviously correct :)

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


\
 
 \ /
  Last update: 2024-01-09 16:19    [W:0.031 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site