summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-04-12 09:30:48 -0700
committerKenneth Graunke <[email protected]>2017-04-16 22:58:23 -0700
commit7c3b8ed87859bfdfb985d21685115a729f9cd138 (patch)
treef5d0147d44d9255f4020e36c9a0352783c0f4161 /src/gallium/winsys/amdgpu
parent9b71709cb8532cda4bfbbcbf4d0d86d53c0dffb9 (diff)
i965/drm: Delete NULL check in brw_bo_unmap().
I accidentally moved the bo->bufmgr dereference above the NULL check when cleaning up this code. While passing NULL to free() is a common pattern...passing NULL to unmap seems pretty bad. You really ought to know whether you have a buffer or not. We don't want to paper over bugs like that. So, just drop the NULL check altogether. CID: 1405006 Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu')
0 files changed, 0 insertions, 0 deletions