From: Wan Jiabing Date: Thu, 1 Apr 2021 08:17:03 +0000 (+0800) Subject: drm/drm_internal.h: Remove repeated struct declaration X-Git-Tag: howlett/maple/20220722_2~3286^2~4^2~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2552fb66ae301f490ea37f64d2cdc5778ae61874;p=users%2Fjedix%2Flinux-maple.git drm/drm_internal.h: Remove repeated struct declaration struct drm_gem_object is declared twice. One is declared at 40th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20210401081704.1000863-1-wanjiabing@vivo.com --- diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index fad2249ee67b..1265de2b9d90 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -170,7 +170,6 @@ void drm_sysfs_connector_remove(struct drm_connector *connector); void drm_sysfs_lease_event(struct drm_device *dev); /* drm_gem.c */ -struct drm_gem_object; int drm_gem_init(struct drm_device *dev); int drm_gem_handle_create_tail(struct drm_file *file_priv, struct drm_gem_object *obj,