drm/i915/ctx: Remove bad invariant
authorBen Widawsky <ben@bwidawsk.net>
Mon, 11 Feb 2013 21:31:27 +0000 (13:31 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2013 09:30:40 +0000 (10:30 +0100)
commitf73f760725636b9d0c3786273e185b053516d1eb
tree8d198f9797ec563b9dc22229a832edbcf8f326eb
parent4fc7c971c3aedf937f824c063d698779d25c3330
drm/i915/ctx: Remove bad invariant

It's not that the assertion is incorrect, but rather that we can call
do_destroy early in loading, and we will falsely BUG().

Since contexts have been in for a while now, and in the internal APIs
are pretty stable, it should be fairly safe to remove this.

v2: Remove unused dev_priv, and dev

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c