drm/bridge: dw-hdmi: Remove unused hdmi_enable_overflow_interrupts()
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 16 Feb 2018 20:16:10 +0000 (18:16 -0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Thu, 15 Mar 2018 08:45:11 +0000 (09:45 +0100)
commit7022a4a0ece6122e337e1c23af91128398209c8d
treed80d803fa66821e676d2e466b97dcc42c8afeae3
parent25a28906ebee1b1093a6f72fb6d44b9441f48ebc
drm/bridge: dw-hdmi: Remove unused hdmi_enable_overflow_interrupts()

The cable_plugin member never receives an assignment, so it is always
false, which causes hdmi_enable_overflow_interrupts() to never
be called as per the logic below:

if (hdmi->cable_plugin && hdmi->sink_is_hdmi)
hdmi_enable_overflow_interrupts(hdmi);

This has been the case since the driver was originally introduced
in commit 9aaf880ed4ee ("imx-drm: Add mx6 hdmi transmitter support").

Remove the cable_plugin element and the hdmi_enable_overflow_interrupts()
function that is never called.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # On R-Car H3
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1518812170-22687-1-git-send-email-festevam@gmail.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c