summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/dsi.c
diff options
context:
space:
mode:
authorLaurent Pinchart2018-03-05 13:47:47 +0100
committerTomi Valkeinen2018-09-03 15:13:27 +0200
commitf96993630445b7bf0aebc67288f804035ec46fc6 (patch)
treeede3e806e90d64efb4985ba322e568e46c8a175c /drivers/gpu/drm/omapdrm/dss/dsi.c
parentdrm/omap: dss: Get regulators at probe time (diff)
downloadkernel-qcow2-linux-f96993630445b7bf0aebc67288f804035ec46fc6.tar.gz
kernel-qcow2-linux-f96993630445b7bf0aebc67288f804035ec46fc6.tar.xz
kernel-qcow2-linux-f96993630445b7bf0aebc67288f804035ec46fc6.zip
drm/omap: Remove unneeded variable assignments in omap_modeset_init
The crtc_idx and plane_idw variables in the main loop are always equal to the loop counter i, use it instead. Don't unnecessarily initialize dssdev to NULL. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/dsi.c')
0 files changed, 0 insertions, 0 deletions