From: Ping Gao Date: Thu, 27 Oct 2016 01:54:22 +0000 (+0800) Subject: drm/i915/gvt: remove unused variable 'execlist' X-Git-Tag: v4.14-rc1~674^2~37^2~922^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=337d0665270ad1ebcbd58ddc1ce7769852f2391b;p=platform%2Fkernel%2Flinux-rpi.git drm/i915/gvt: remove unused variable 'execlist' Remove the variable 'execlist' as it's unused in function vgpu_has_pending_workload. Signed-off-by: Ping Gao Reviewed-by: Zhi Wang Signed-off-by: Zhenyu Wang --- diff --git a/drivers/gpu/drm/i915/gvt/sched_policy.c b/drivers/gpu/drm/i915/gvt/sched_policy.c index 1df6a54..678b0be 100644 --- a/drivers/gpu/drm/i915/gvt/sched_policy.c +++ b/drivers/gpu/drm/i915/gvt/sched_policy.c @@ -36,12 +36,10 @@ static bool vgpu_has_pending_workload(struct intel_vgpu *vgpu) { - struct intel_vgpu_execlist *execlist; enum intel_engine_id i; struct intel_engine_cs *engine; for_each_engine(engine, vgpu->gvt->dev_priv, i) { - execlist = &vgpu->execlist[i]; if (!list_empty(workload_q_head(vgpu, i))) return true; }