aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorBernard Zhao <bernard@vivo.com>2020-10-13 01:55:12 -0700
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2020-11-08 10:55:17 +0800
commita812ca1963e5b51804236a91158d46121d4c502e (patch)
treea34293d6c9aa656d720d0f7d9a04d3bce72c981d /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentc1ff4e3f40892cf99be91f3cdd1bd5a421f3de9c (diff)
drm/mediatek: Optimize functions which do not need to return
Function mtk_hdmi_aud_set_input always return 0, no need to keep the return value. Functions mtk_hdmi_aud_enable_packet & mtk_hdmi_aud_on_off_hw_ncts are the same, these two functions just call next functions. Maybe it`s a bit better to just call the inner function. Signed-off-by: Bernard Zhao <bernard@vivo.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions