intel: Remove a never-taken debug print path.

Alessandro Pignotti noted when I added this code in commit
0e723b135b that it's in the else block for
"if (busy)", so this debug print couldn't happen.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2013-03-28 15:58:25 -07:00
parent c34bbe110d
commit 9dd19575d3
1 changed files with 0 additions and 5 deletions

View File

@ -227,11 +227,6 @@ intel_bufferobj_subdata(struct gl_context * ctx,
drm_intel_bo_unreference(temp_bo);
}
} else {
if (unlikely(intel->perf_debug)) {
if (drm_intel_bo_busy(intel_obj->buffer)) {
perf_debug("Stalling on the GPU in glBufferSubData().\n");
}
}
drm_intel_bo_subdata(intel_obj->buffer, offset, size, data);
}
}