drm/i915: Remove mostly unused variable in intel_rotate_fb_obj_pages
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 24 Jun 2015 08:55:20 +0000 (09:55 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Jun 2015 13:11:01 +0000 (15:11 +0200)
commitc9f8fd2d87eebb97b0ffdb3ff6cd90eb1c8e00bd
treee0c180062cd557d06a19e0e771d1414bdf0be202
parentc329a4ec595e886300710271db24bc29b74a4205
drm/i915: Remove mostly unused variable in intel_rotate_fb_obj_pages

It is only used in logging and it doesn't need to exist on its own.

Also it was misleading to log view size as object size.

v2: Improve commit message. (Joonas Lahtinen)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
[danvet: s/%lu/%zu/ where needed, reported by 0-day.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c