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

Lyude Paul lyude at redhat.com
Fri Oct 21 21:11:37 UTC 2022


Reviewed-by: Lyude Paul <lyude at redhat.com>

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 at linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
> ---
>  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



More information about the dri-devel mailing list