gpu: drm: i915: remove dead code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 15 May 2017 21:56:05 +0000 (16:56 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 May 2017 09:27:54 +0000 (11:27 +0200)
commitcbaa331504d16489c8b207da960351e7b0afb3e2
tree80fc3b0c967c87411557ff01f7b08d79899134c2
parent9a09485d41dbba0f475774587f030a95573032e5
gpu: drm: i915: remove dead code

Local variable has_reduced_clock is assigned to a constant value and it is
never updated again. Remove this variable and the dead code it guards.

Addresses-Coverity-ID: 1362230
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/20170515215605.GA14963@embeddedgus
drivers/gpu/drm/i915/intel_display.c