]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbd77ab5363361fb3a7badc96bf0a57011dc4f95
treee0c180062cd557d06a19e0e771d1414bdf0be202
parentb72456b7960a7bd739397a5c17681e3c945d0ba7
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