diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-12 20:05:49 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-03 10:54:24 +0200 |
commit | 8ae62dc62b340edd0f6a5a2522f284234e82c0ec (patch) | |
tree | 801cb6d31cd9373a5395fd5777f6c38330c475d6 /drivers/gpu/drm/i915/i915_irq.c | |
parent | b3c3f5e69e25583703383d674e73d0ce26e731c3 (diff) |
drm/i915: Remove num_pages parameter to i915_error_object_create()
For cleanliness, i915_error_object_create() was written to handle the
NULL pointer in a central location. The macro that wrapped it and passed
it a num_pages to use, was not safe. As we now never limit the num_pages
to use (we did so at one point to only capture the first page of the
context), we can remove the redundant macro and be NULL safe again.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions