commit | 7b92c047bae2210874d64ae8bbb56fbd18ab6731 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Jan 14 00:28:26 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sat Jan 14 16:18:35 2017 +0000 |
tree | 14863a4ca98367524272419563ab8195582a54aa | |
parent | 8bab1193c193fa1a695aa9bb881bb4cb0ea2ba85 [diff] |
drm/i915: Eliminate superfluous i915_ggtt_view_rotated It is only being used to clear a struct and set the type, after which it is overwritten. Since we no longer check the unset bits of the union, skipping the clear is permissible. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170114002827.31315-6-chris@chris-wilson.co.uk