OSDN Git Service

amd: display: modules: Remove repeated struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 10:27:37 +0000 (18:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:50:38 +0000 (16:50 -0400)
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>
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h

index 5fbc4c1..acbeada 100644 (file)
@@ -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);