drm/nouveau/nvenc: remove duplicate include in base.c
authoryong yiran <yong.yiran@zte.com.cn>
Sat, 7 Aug 2021 03:20:54 +0000 (20:20 -0700)
committerKarol Herbst <kherbst@redhat.com>
Mon, 11 Oct 2021 11:06:49 +0000 (13:06 +0200)
'priv.h' included in 'base.c' is duplicated.
Remove all but the first include of priv.h from base.c.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: yong yiran <yong.yiran@zte.com.cn>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210807032054.642867-1-yong.yiran@zte.com.cn
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c

index c39e797..cf5dcfd 100644 (file)
@@ -21,7 +21,6 @@
  */
 #include "priv.h"
 
-#include "priv.h"
 #include <core/firmware.h>
 
 static void *