]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: Remove set but not used variable 'err' in hdmi4_audio_config
authorzhengbin <zhengbin13@huawei.com>
Tue, 8 Oct 2019 07:15:49 +0000 (15:15 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Oct 2019 11:20:52 +0000 (14:20 +0300)
commit3090105bb6429032fd4d54f33f82a473fe2f2a1e
treea196b2923458420d418f9854e4a2ac67cf5e7473
parent5919b4a103784b943f8e923a2af31263563db344
drm/omap: Remove set but not used variable 'err' in hdmi4_audio_config

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

drivers/gpu/drm/omapdrm/dss/hdmi4_core.c: In function hdmi4_audio_config:
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c:689:6: warning: variable err set but not used [-Wunused-but-set-variable]

It is not used since commit c5b92e9adc24 ("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-5-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c