]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: Remove set but not used variable 'err' in hdmi5_audio_config
authorzhengbin <zhengbin13@huawei.com>
Tue, 8 Oct 2019 07:15:48 +0000 (15:15 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Oct 2019 11:20:48 +0000 (14:20 +0300)
commitc30a19433e483acbad1aaa43ebc40d66bf4fef98
tree6da76bf06a3d2832550fa79a1ccebd08b916daac
parent83e3b8a9c0603ff7445a66145d5dc042982f7d0d
drm/omap: Remove set but not used variable 'err' in hdmi5_audio_config

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/omapdrm/dss/hdmi5_core.c: In function hdmi5_audio_config:
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c:812:6: warning: variable err set but not used [-Wunused-but-set-variable]

It is not used since commit f5bab2229190 ("OMAPDSS:
HDMI: Add OMAP5 HDMI support")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1570518949-47574-4-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c