drm/amdgpu: Refine uvd_v6/7_0_enc_get_destroy_msg
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 28 Sep 2018 07:25:06 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:04:38 +0000 (17:04 -0500)
commitec442fd3a9756d489009a23cdb0b8a789eedf94e
tree965580297d1303416bf28dcd7095487c9350fb23
parent717276b9256f5d97b43e53adca1670cee2c45db2
drm/amdgpu: Refine uvd_v6/7_0_enc_get_destroy_msg

1. make uvd_v7_0_enc_get_destroy_msg static
2. drop a function variable that always true

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c