Re: [PATCH -next] nouveau/dmem: Remove duplicated include in nouveau_dmem.c

From: Lyude Paul
Date: Fri Oct 21 2022 - 17:11:47 EST


Reviewed-by: Lyude Paul <lyude@xxxxxxxxxx>

Will push in just a moment to drm-misc-next, thanks!

On Mon, 2022-10-17 at 08:07 +0800, Yang Li wrote:
> ./drivers/gpu/drm/nouveau/nouveau_dmem.c: nvif/if000c.h is included more
> than once.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2404
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c
> index 5fe209107246..e2c500aac273 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_dmem.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_dmem.c
> @@ -33,7 +33,6 @@
> #include <nvif/if000c.h>
> #include <nvif/if500b.h>
> #include <nvif/if900b.h>
> -#include <nvif/if000c.h>
>
> #include <nvhw/class/cla0b5.h>
>

--
Cheers,
Lyude Paul (she/her)
Software Engineer at Red Hat