OSDN Git Service

drm/i915: Remove unused 'in_vbl' from i915_get_crtc_scanoutpos()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Sep 2017 16:42:13 +0000 (17:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Sep 2017 08:44:26 +0000 (09:44 +0100)
commite01e71fc49d4c95090a04f898a3fe788c652a04b
tree902473c7f1a310c9175d2d82d4007aa0318a910d
parent442aa277c066cec6cfe8508b3edbdda022b10568
drm/i915: Remove unused 'in_vbl' from i915_get_crtc_scanoutpos()

Commit 1bf6ad622b9b ("drm/vblank: drop the mode argument from
drm_calc_vbltimestamp_from_scanoutpos") removed the use of in_vbl, but
did not remove the local variable. Do so now.

Fixes: 1bf6ad622b9b ("drm/vblank: drop the mode argument from drm_calc_vbltimestamp_from_scanoutpos")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170914164213.18461-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_irq.c