summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2008-02-08 18:47:25 +0100
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:33 +1100
commite770d6adeb710fcd16ea6af9764121b8933315c0 (patch)
tree24b1eb4b6b0fcfb1a4802328da8a0715c7b3b754 /src/mesa
parent1e2f5fb05a3f6720a1e7aa02e7ce12304991c6c7 (diff)
intel_winsys: remove leftover code
Diffstat (limited to 'src/mesa')
-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 910c0d2cc5..789a386500 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;
}