From: Wan Jiabing Date: Thu, 1 Apr 2021 10:27:37 +0000 (+0800) Subject: amd: display: modules: Remove repeated struct declaration X-Git-Tag: v5.13-rc1~123^2~3^2~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92b15eb07ad773c3b321fbdf5ecd9a0f3b8b351e;p=thirdparty%2Fkernel%2Flinux.git amd: display: modules: Remove repeated struct declaration struct mod_hdcp is declared twice. One is declared at 33rd line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h b/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h index 5fbc4c1376e45..acbeada5215b0 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h @@ -261,8 +261,6 @@ struct mod_hdcp_config { uint8_t index; }; -struct mod_hdcp; - /* dm allocates memory of mod_hdcp per dc_link on dm init based on memory size*/ size_t mod_hdcp_get_memory_size(void);