aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-01 18:27:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:50:38 -0400
commit92b15eb07ad773c3b321fbdf5ecd9a0f3b8b351e (patch)
tree0344d7a9e6609575815b77e59486f4825c9fdcc0
parentdrm/amdgpu: drop some unused atombios functions (diff)
downloadwireguard-linux-92b15eb07ad773c3b321fbdf5ecd9a0f3b8b351e.tar.xz
wireguard-linux-92b15eb07ad773c3b321fbdf5ecd9a0f3b8b351e.zip
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 <wanjiabing@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h2
1 files changed, 0 insertions, 2 deletions
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 5fbc4c1376e4..acbeada5215b 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);