From: Russell King Date: Sat, 27 Jun 2015 15:21:46 +0000 (+0100) Subject: drm/armada: avoid saving the adjusted mode to crtc->mode X-Git-Tag: firefly_0821_release~176^2~1410^2~4^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c62ff6b3c7325c34d649a5fc3253445af1fd3ba8;p=firefly-linux-kernel-4.4.55.git drm/armada: avoid saving the adjusted mode to crtc->mode We're not supposed to store the adjusted mode into crtc->mode. We don't use it anyway, so we can safely remove this. Signed-off-by: Russell King --- diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c index 42d2ffa08716..01ffe9bffe38 100644 --- a/drivers/gpu/drm/armada/armada_crtc.c +++ b/drivers/gpu/drm/armada/armada_crtc.c @@ -531,8 +531,6 @@ static int armada_drm_crtc_mode_set(struct drm_crtc *crtc, drm_crtc_vblank_off(crtc); - crtc->mode = *adj; - val = dcrtc->dumb_ctrl & ~CFG_DUMB_ENA; if (val != dcrtc->dumb_ctrl) { dcrtc->dumb_ctrl = val;