drm/prime: Remove duplicate forward declaration
Subsystems (2)
PATCH 1/1 drm/prime: Remove duplicate forward declaration
From: Thierry Reding <[email protected]>
struct device is forward-declared twice. Remove the second instance.
--- include/drm/drm_prime.h | 2 -- 1 file changed, 2 deletions(-)
include/drm/drm_prime.h +0 -2
@@ -59,8 +59,6 @@ struct drm_device;struct drm_gem_object ;struct drm_file ; -struct device ; -struct dma_buf *drm_gem_prime_export (struct drm_device *dev,struct drm_gem_object *obj,int flags);
Signature · 6 lines
2.15.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoting Thierry Reding (2018-01-11 20:17:30)
Quoted 3 lines
From: Thierry Reding <[email protected]>
struct device is forward-declared twice. Remove the second instance.
So good they declared it twice. Also the first one first in with the alphabetical ordering.
Quoted 1 line
Signed-off-by Thierry Reding <[email protected]>
-Chris
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 11.01.2018 um 21:17 schrieb Thierry Reding:
Quoted 5 lines
From: Thierry Reding <[email protected]>
struct device is forward-declared twice. Remove the second instance.
Signed-off-by Thierry Reding <[email protected]>
Quoted 9 lines
--- include/drm/drm_prime.h | 2 -- 1 file changed, 2 deletions(-)include/drm/drm_prime.h +0
-0
include/drm/drm_prime.h struct drm_device; · line 64
Quoted 8 lines
include/drm/drm_prime.h +0
-2@@ -59,8 +59,6 @@ struct drm_device;struct drm_gem_object ;struct drm_file ; -struct device ; -struct dma_buf *drm_gem_prime_export (struct drm_device *dev,struct drm_gem_object *obj,int flags);
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel