diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-12-11 10:17:17 +0800 |
---|---|---|
committer | Tian Tao <tiantao6@hisilicon.com> | 2020-12-14 01:57:27 -0500 |
commit | dc3793038d22690037eb4271c0f3fe70eb51b9eb (patch) | |
tree | 9b06cd75a9d042455519cf201badc34e2ed344e2 /drivers/gpu/drm/radeon/radeon_prime.c | |
parent | 23d4e55f7eeb9dadfd03d16ffb24384b49c46c0d (diff) | |
download | lwn-dc3793038d22690037eb4271c0f3fe70eb51b9eb.tar.gz lwn-dc3793038d22690037eb4271c0f3fe70eb51b9eb.zip |
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
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_prime.c')
0 files changed, 0 insertions, 0 deletions