]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bridge: rcar: Drop unused variables due to drm_of_get_data_lanes_count_ep
authorMarek Vasut <marex@denx.de>
Sun, 12 Jun 2022 13:21:52 +0000 (15:21 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 12 Jun 2022 14:07:06 +0000 (16:07 +0200)
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: 3d9f3e0e710f ("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
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c

index 67dce337098a55227ea0ba4c7b827bf8045bbd3e..31ed285073e0f942ae0abcad063f8fc7ead45029 100644 (file)
@@ -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);