summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-04-03 10:21:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-07 16:37:35 -0400
commitdac1655cb2a92e6ba13f37dee1a56cb8a7d7f753 (patch)
treedb4e3c1026df05d17d04a0638906320c8d9807b1 /drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
parent9b6a1ec7924e9feee70ece3f779bc058ff25f716 (diff)
downloadlinux-stable-dac1655cb2a92e6ba13f37dee1a56cb8a7d7f753.tar.gz
linux-stable-dac1655cb2a92e6ba13f37dee1a56cb8a7d7f753.tar.bz2
linux-stable-dac1655cb2a92e6ba13f37dee1a56cb8a7d7f753.zip
drm/amd/display: cleanup extern usage in function definition
Smatch reports this issue hdcp1_execution.c:500:29: warning: function 'mod_hdcp_hdcp1_dp_execution' with external linkage has definition The storage-class-specifier extern is not needed in a definition, so remove it. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c')
-rw-r--r--drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
index 6ec918af3bff..1ddb4f5eac8e 100644
--- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
+++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
@@ -497,9 +497,9 @@ enum mod_hdcp_status mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp,
return status;
}
-extern enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp,
- struct mod_hdcp_event_context *event_ctx,
- struct mod_hdcp_transition_input_hdcp1 *input)
+enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp,
+ struct mod_hdcp_event_context *event_ctx,
+ struct mod_hdcp_transition_input_hdcp1 *input)
{
enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS;