summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-06-12 15:21:52 +0200
committerMarek Vasut <marex@denx.de>2022-06-12 16:07:06 +0200
commit473c93b5b94f63de30f35b2935616457cca5c4d8 (patch)
treed77f022c4711de7f17c506d0a2ece8695f854eef /drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
parentdrm/bridge: tc358775: Fix drm_of_get_data_lanes_count_ep conversion (diff)
downloadlinux-473c93b5b94f63de30f35b2935616457cca5c4d8.tar.xz
linux-473c93b5b94f63de30f35b2935616457cca5c4d8.zip
drm/bridge: rcar: Drop unused variables due to drm_of_get_data_lanes_count_ep
The rcar_mipi_dsi_parse_dt() now contains two uninitialized variables due to conversion to common drm_of_get_data_lanes_count_ep() helper. Drop them. Fixes: d643daaf1694 ("drm/bridge: rcar: Convert to drm_of_get_data_lanes_count_ep") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andrzej Hajda <andrzej.hajda@intel.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Maxime Ripard <maxime@cerno.tech> Cc: Robert Foss <robert.foss@linaro.org> Cc: Sam Ravnborg <sam@ravnborg.org> To: dri-devel@lists.freedesktop.org Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220612132152.91052-3-marex@denx.de
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c b/drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
index 67dce337098a..31ed285073e0 100644
--- a/drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
+++ b/drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
@@ -679,8 +679,6 @@ static const struct mipi_dsi_host_ops rcar_mipi_dsi_host_ops = {
static int rcar_mipi_dsi_parse_dt(struct rcar_mipi_dsi *dsi)
{
- struct device_node *ep;
- u32 data_lanes[4];
int ret;
ret = drm_of_get_data_lanes_count_ep(dsi->dev->of_node, 1, 0, 1, 4);