drm/nouveau/fifo: remove duplicated including

Message ID 202312151802+0800-wangjinchao@xfusion.com
State New
Headers
Series drm/nouveau/fifo: remove duplicated including |

Commit Message

Wang Jinchao Dec. 15, 2023, 10:02 a.m. UTC
  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(-)
  

Comments

Danilo Krummrich Jan. 8, 2024, 5:23 p.m. UTC | #1
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"
>
  

Patch

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"