drm/i915: Fix W=1 warning for csr_load_work_fn()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Jan 2017 12:18:08 +0000 (12:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Jan 2017 09:15:29 +0000 (09:15 +0000)
commitec78828ed60a9833582cbb582248bd1b0200f50e
treeacee51b50729df6021fef590ddb1e82cf339ef5a
parent62fa0ce2bd590ef95b4557fca780441dc33ba427
drm/i915: Fix W=1 warning for csr_load_work_fn()

drivers/gpu/drm/i915/intel_csr.c: In function ‘csr_load_work_fn’:
drivers/gpu/drm/i915/intel_csr.c:399:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170118121808.27869-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_csr.c