[PATCH] drm/nouveau/fifo: remove duplicated including

Wang Jinchao posted 1 patch 2 years ago
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] drm/nouveau/fifo: remove duplicated including
Posted by Wang Jinchao 2 years ago
rm second including of chid.h

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
---
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
index 87a62d4ff4bd..7d4716dcd512 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
@@ -24,7 +24,6 @@
 #include "chan.h"
 #include "chid.h"
 #include "cgrp.h"
-#include "chid.h"
 #include "runl.h"
 #include "priv.h"
 
-- 
2.40.0
Re: [PATCH] drm/nouveau/fifo: remove duplicated including
Posted by Danilo Krummrich 1 year, 11 months ago
Hi Wang,

there is another patch [1] to fix this, which already made it upstream.

- Danilo

[1] https://patchwork.freedesktop.org/patch/msgid/20231122004926.84933-1-yang.lee@linux.alibaba.com

On 12/15/23 11:02, Wang Jinchao wrote:
> rm second including of chid.h
> 
> Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
> ---
>   drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
> index 87a62d4ff4bd..7d4716dcd512 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
> @@ -24,7 +24,6 @@
>   #include "chan.h"
>   #include "chid.h"
>   #include "cgrp.h"
> -#include "chid.h"
>   #include "runl.h"
>   #include "priv.h"
>