drm/mediatek: Remove the unneeded result
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 25 Aug 2022 07:23:35 +0000 (07:23 +0000)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 25 Aug 2022 23:34:49 +0000 (07:34 +0800)
commit9d3feb63339520462583a4c7ee5130046ab515ad
tree519f54a79090d1ebf121add15ef2de7f0405c70c
parentfd0fcdf33d8af535aff596b57390acf8a209708e
drm/mediatek: Remove the unneeded result

Return the value drm_mode_config_helper_suspend() directly instead of
 storing it in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220825072335.228921-1-ye.xingchen@zte.com.cn/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_drv.c