From: Jerome Glisse Date: Fri, 8 Feb 2008 17:47:25 +0000 (+0100) Subject: intel_winsys: remove leftover code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21e9396e650d23084bfeae0d2670b5ffcf731a85;p=mesa.git intel_winsys: remove leftover code --- diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c index 910c0d2cc5e..789a386500a 100644 --- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c +++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c @@ -224,11 +224,6 @@ intel_i915_surface_alloc_storage(struct pipe_winsys *winsys, if(!surf->buffer) return -1; - if(ret) { - pipe_buffer_reference(winsys, &surf->buffer, NULL); - return ret; - } - return 0; }