drivers: gpu: drm: Remove duplicate declaration
Subsystems (3)
PATCH 1/1 drivers: gpu: drm: Remove duplicate declaration
struct dss_device has been declared at 51st line.
Remove the duplicate.
Signed-off-by Wan Jiabing <[email protected]>
--- drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/omapdrm/dss/omapdss.h +0 -1
@@ -52,7 +52,6 @@ struct dss_device;struct omap_drm_private ;struct omap_dss_device ;struct dispc_device ; -struct dss_device ;struct dss_lcd_mgr_config ;struct snd_aes_iec958 ;struct snd_cea_861_aud_if ;
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Wan,
Thank you for the patch.
Quoted 13 lines · Wan Jiabing
struct
dss_devicehas been declared at 51st line.
Remove the duplicate.Signed-off-by Wan Jiabing <[email protected]>--- drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/omapdrm/dss/omapdss.h +0
-0
drivers/gpu/drm/omapdrm/dss/omapdss.h struct dss_device; · line 57
Quoted 7 lines
drivers/gpu/drm/omapdrm/dss/omapdss.h +0
-1@@ -52,7 +52,6 @@ struct dss_device;struct omap_drm_private ;struct omap_dss_device ;struct dispc_device ; -struct dss_device ;struct dss_lcd_mgr_config ;struct snd_aes_iec958 ;struct snd_cea_861_aud_if ;
While at it, could you sort these forward declarations alphabetically, so that duplicates are easier to see ?
Signature · 7 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel