i965: remove if conditions from scratch_bo unref
authorTapani Pälli <tapani.palli@intel.com>
Fri, 27 Oct 2017 09:50:50 +0000 (12:50 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 27 Oct 2017 10:48:56 +0000 (13:48 +0300)
commiteeb3515c3f6ae0eac891559b2f7f8af0659ce5eb
tree8870a6a7934bc01e0382c468525490adb79b1b1a
parent70cd05d6ac533977f96aa832bbb2886172019f35
i965: remove if conditions from scratch_bo unref

brw_bo_unreference handles NULL case

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c