[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210429031804.19487-1-wanjiabing@vivo.com>
Date: Thu, 29 Apr 2021 11:18:02 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Harry Wentland <harry.wentland@....com>,
Leo Li <sunpeng.li@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, Aric Cyr <aric.cyr@....com>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>,
Qingqing Zhuo <qingqing.zhuo@....com>,
Aurabindo Pillai <aurabindo.pillai@....com>,
Bhawanpreet Lakha <Bhawanpreet.Lakha@....com>,
Jacky Liao <ziyu.liao@....com>,
Meenakshikumar Somasundaram <meenakshikumar.somasundaram@....com>,
Nicholas Kazlauskas <nicholas.kazlauskas@....com>,
Wenjing Liu <wenjing.liu@....com>,
amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] drm/amd/display: Remove duplicate declaration of dc_state
There are two declarations of struct dc_state here.
The later one is closer to its user. Remove the former duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 8108b82bac60..cad045db6ea2 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -276,8 +276,6 @@ enum surface_update_type {
/* Forward declaration*/
struct dc;
struct dc_plane_state;
-struct dc_state;
-
struct dc_cap_funcs {
bool (*get_dcc_compression_cap)(const struct dc *dc,
--
2.25.1
Powered by blists - more mailing lists