]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: cleanup extern usage in function definition
authorTom Rix <trix@redhat.com>
Sun, 3 Apr 2022 14:21:37 +0000 (10:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Apr 2022 20:37:35 +0000 (16:37 -0400)
commitefb65db4a21fcf4369bc5d3b3a0dd236e0b7bb3f
treedb4e3c1026df05d17d04a0638906320c8d9807b1
parentbb28e8ff8f7531139ba73ab78a5dfcbcedb8ccc7
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>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c