Skip to contentSkip to conversation

drm: Remove duplicate forward declaration

PATCH Applied Dawid Kurek 2 participants 2 messages Jun 14, 2017 – Jun 15, 2017

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

PATCH 1/1 drm: Remove duplicate forward declaration

Forward declarations in C are great but I'm pretty sure one is enough.

---
 include/drm/drm_connector.h | 2 --
 1 file changed, 2 deletions(-)
include/drm/drm_connector.h +0 -2
index 4eeda12..930222c 100644
@@ -29,8 +29,6 @@
 
 #include <uapi/drm/drm_mode.h>
 
-struct drm_device;
-
 struct drm_connector_helper_funcs;
 struct drm_modeset_acquire_ctx;
 struct drm_device;
Signature · 6 lines
2.10.0


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Applied
#1 lore raw
Quoted 1 line · Dawid Kurek

Forward declarations in C are great but I'm pretty sure one is enough.

Applied to drm-misc-next

Thanks,

Sean

Quoted 26 lines
---
 include/drm/drm_connector.h | 2 --
 1 file changed, 2 deletions(-)
include/drm/drm_connector.h +0 -2
index 4eeda12..930222c 100644
@@ -29,8 +29,6 @@
 
 #include <uapi/drm/drm_mode.h>
 
-struct drm_device;
-
 struct drm_connector_helper_funcs;
 struct drm_modeset_acquire_ctx;
 struct drm_device;
Signature · 6 lines
2.10.0


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel