Thread (78 messages) 78 messages, 7 authors, 2020-12-05
STALE2004d

[PATCH v2 07/28] video: fbdev: sis: Fix defined but not used warnings

From: Sam Ravnborg <hidden>
Date: 2020-11-28 22:42:43
Also in: dri-devel
Subsystem: framebuffer layer, sis framebuffer driver, the rest · Maintainers: Helge Deller, Linus Torvalds

init.h define static symbols, so should only be included
once. Drop the include from sis.h as it is not needed.
This fixes a lot of warnings seen with a W=1 build.

v2:
  - Update subject (Lee)

Signed-off-by: Sam Ravnborg <redacted>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Lee Jones <redacted>
---
 drivers/video/fbdev/sis/sis.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/video/fbdev/sis/sis.h b/drivers/video/fbdev/sis/sis.h
index 9f4c3093ccb3..d632f096083b 100644
--- a/drivers/video/fbdev/sis/sis.h
+++ b/drivers/video/fbdev/sis/sis.h
@@ -15,7 +15,6 @@
 
 #include "vgatypes.h"
 #include "vstruct.h"
-#include "init.h"
 
 #define VER_MAJOR		1
 #define VER_MINOR		8
-- 
2.27.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help