i965: Remove useless null check.

If it were null, we'd have just derefernced it two lines above.
This commit is contained in:
Matt Turner 2015-04-11 09:54:38 -07:00
parent 024ecc783b
commit ea0c35faf8
1 changed files with 0 additions and 4 deletions

View File

@ -925,10 +925,6 @@ intelDestroyContext(__DRIcontext * driContextPriv)
(struct brw_context *) driContextPriv->driverPrivate;
struct gl_context *ctx = &brw->ctx;
assert(brw); /* should never be null */
if (!brw)
return;
/* Dump a final BMP in case the application doesn't call SwapBuffers */
if (INTEL_DEBUG & DEBUG_AUB) {
intel_batchbuffer_flush(brw);