gpu: drm: i915: compress logic into one line
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 15 May 2017 22:00:28 +0000 (17:00 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 May 2017 09:28:01 +0000 (11:28 +0200)
commitefd38b68c7472728e18861b2cfd02432a60fc39f
treefe4c5fb77fac019aaa7f3c319378ca5145ca304d
parentcbaa331504d16489c8b207da960351e7b0afb3e2
gpu: drm: i915: compress logic into one line

Simplify logic to avoid unnecessary variable declaration and assignment.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170515220028.GA15149@embeddedgus
drivers/gpu/drm/i915/intel_display.c