Skip to contentSkip to conversation

drivers: gpu: drm: Remove duplicate declaration

PATCH In review Wan Jiabing 2 participants 2 messages Mar 25, 2021

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

PATCH 1/1 drivers: gpu: drm: Remove duplicate declaration

struct dss_device has been declared at 51st line.
Remove the duplicate.

---
 drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/omapdrm/dss/omapdss.h +0 -1
index a40abeafd2e9..2658aadee09a 100644
@@ -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
#1 lore raw

Hi Wan,

Thank you for the patch.

Quoted 13 lines · Wan Jiabing

struct dss_device has been declared at 51st line.
Remove the duplicate.

---
 drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/omapdrm/dss/omapdss.h +0 -0
index a40abeafd2e9..2658aadee09a 100644

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