summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2008-02-08 18:47:25 +0100
committerJohn Doe <[email protected]>2008-02-08 18:47:25 +0100
commit21e9396e650d23084bfeae0d2670b5ffcf731a85 (patch)
tree180ec3cb89f0dfca7778c38c7f13236c57ce3174 /src/mesa/drivers/dri
parent2b6a31bfda319975b728930f019175611145ebb9 (diff)
intel_winsys: remove leftover code
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c5
1 files changed, 0 insertions, 5 deletions
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;
}