drm/drv: Remove invalid assignments
authorTian Tao <tiantao6@hisilicon.com>
Fri, 11 Dec 2020 02:17:17 +0000 (10:17 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Mon, 14 Dec 2020 06:57:27 +0000 (01:57 -0500)
commitdc3793038d22690037eb4271c0f3fe70eb51b9eb
tree9b06cd75a9d042455519cf201badc34e2ed344e2
parent23d4e55f7eeb9dadfd03d16ffb24384b49c46c0d
drm/drv: Remove invalid assignments

it's not necessary to assign a value of 0 to ret here, because if
the previous functions were executed correctly, ret would be 0.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/1607653037-37785-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/drm_drv.c