Skip to contentSkip to conversation

drivers: gpu: priv.h is included twice

PATCH In review Wan Jiabing 2 participants 2 messages Mar 22, 2021 – Mar 23, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: gpu: priv.h is included twice

priv.h has been included at line 22, so remove
the duplicate include at line 24.

---
 drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c +0 -2
index c39e797dc7c9..09524168431c 100644
@@ -20,8 +20,6 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 #include "priv.h"
-
-#include "priv.h"
 #include <core/firmware.h>
 
 static void *
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Wan Jiabing

priv.h has been included at line 22, so remove
the duplicate include at line 24.

---
 drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 2 --

 1 file changed, 2 deletions(-)
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c +0 -2
index c39e797dc7c9..09524168431c 100644
@@ -20,8 +20,6 @@
   * OTHER DEALINGS IN THE SOFTWARE.
   */
  #include "priv.h"
-
-#include "priv.h"
  #include <core/firmware.h>


 static void *

Signature · 13 lines
Sincerely,
   Lyude Paul (she/her)
   Software Engineer at Red Hat
   
Note: I deal with a lot of emails and have a lot of bugs on my plate. If you've
asked me a question, are waiting for a review/merge on a patch, etc. and I
haven't responded in a while, please feel free to send me another email to check
on my status. I don't bite!

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau