]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/vc4: bo: Fix unused variable warning
authorMaxime Ripard <maxime@cerno.tech>
Fri, 13 Jan 2023 15:46:37 +0000 (16:46 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 13 Jan 2023 16:37:48 +0000 (17:37 +0100)
commit83a7f8e4899fb4cd77c787a3373f3e82b49a080f
tree654e6c9ec4c15410934af2125b143722ca9e6682
parent07a2975c65f2be2e22591d795a9c39b00f95fd11
drm/vc4: bo: Fix unused variable warning

Commit 07a2975c65f2 ("drm/vc4: bo: Fix drmm_mutex_init memory hog")
removed the only use of the ret variable, but didn't remove the
variable itself leading to a unused variable warning.

Remove that variable.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 07a2975c65f2 ("drm/vc4: bo: Fix drmm_mutex_init memory hog")
Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20230113154637.1704116-1-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_bo.c