drm/vc4: Handing the return value of drm_universal_plane_init
authorTian Tao <tiantao6@hisilicon.com>
Fri, 11 Sep 2020 08:09:37 +0000 (16:09 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Wed, 16 Sep 2020 08:48:37 +0000 (04:48 -0400)
commitdd425545a8cc57ae99515e771e87a4465e2f43dc
tree352820c8b4ec40fcabd781ca7e539c4d112537a2
parent3312be8f6fc8a8dc7cef01986dbd436eab7af0f7
drm/vc4: Handing the return value of drm_universal_plane_init

Handing the return value of drm_universal_plane_init to fix the following
W=1 kernel build warning(s):
vc4_plane.c: In function ‘vc4_plane_init’:
vc4_plane.c:1340:6: warning: variable ‘ret’ set but not
used [-Wunused-but-set-variable]

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1599811777-34093-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/vc4/vc4_plane.c