drm/vc4/vc4_hdmi: Remove set but unused variable 'ret'
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:41:08 +0000 (17:41 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Nov 2020 10:51:58 +0000 (11:51 +0100)
commit2bac959c5a6d3ba0c2a9e79312ac5b66810ba73f
treef41615dd9a2e921a4a7fc2eb76ea083c54177ffb
parent705477b8961ee21cd691e1874436b37483ed0a1d
drm/vc4/vc4_hdmi: Remove set but unused variable 'ret'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_set_audio_infoframe’:
 drivers/gpu/drm/vc4/vc4_hdmi.c:334:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]

Cc: Eric Anholt <eric@anholt.net>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Rob Clark <robdclark@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-39-lee.jones@linaro.org
drivers/gpu/drm/vc4/vc4_hdmi.c