drm/gma500: remove redundant ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 12 Jan 2022 08:25:24 +0000 (08:25 +0000)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 12 Jan 2022 09:16:29 +0000 (10:16 +0100)
commite592dc320559ebc8166c1dce609faa7e4f3d6da1
treecead30d4cbdbd6ab27b57a495ea6a0f242c95faa
parentd1f5a6d9d02e3e1dd91379e642f5bc4133f5cf2b
drm/gma500: remove redundant ret variable

Return value directly instead of taking this in another redundant
variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220112082524.667552-1-chi.minghao@zte.com.cn
drivers/gpu/drm/gma500/cdv_intel_dp.c