[Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c

cgel.zte at gmail.com cgel.zte at gmail.com
Sat Aug 7 03:20:54 UTC 2021


From: yong yiran <yong.yiran at zte.com.cn>

'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 at zte.com.cn>
Signed-off-by: yong yiran <yong.yiran at zte.com.cn>
---
 drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
index c39e797dc7c9..cf5dcfda7b25 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
@@ -21,7 +21,6 @@
  */
 #include "priv.h"
 
-#include "priv.h"
 #include <core/firmware.h>
 
 static void *
-- 
2.25.1



More information about the Nouveau mailing list