Re: [PATCH v2 48/60] drm/omap: Remove unneeded variable assignments in omap_modeset_init

2018-06-10 Thread Sebastian Reichel
Hi, On Sat, May 26, 2018 at 08:25:06PM +0300, Laurent Pinchart wrote: > 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 > --- Reviewed-by: Sebasti

[PATCH v2 48/60] drm/omap: Remove unneeded variable assignments in omap_modeset_init

2018-05-26 Thread Laurent Pinchart
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 --- drivers/gpu/drm/omapdrm/omap_drv.c | 18 +- 1 file changed, 5 insertions(+), 13 deletio