diff mbox series

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

Message ID 20221017000723.113744-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] nouveau/dmem: Remove duplicated include in nouveau_dmem.c | expand

Commit Message

Yang Li Oct. 17, 2022, 12:07 a.m. UTC
./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@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Lyude Paul Oct. 21, 2022, 9:11 p.m. UTC | #1
Reviewed-by: Lyude Paul <lyude@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@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@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>
>
diff mbox series

Patch

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>