[Spice-devel,03/19] qxl_surface: remove redundant qxl_garbage_collect, qxl_allocnf calls it

Submitted by Alon Levy on May 31, 2012, 10:24 a.m.

Details

Message ID 1338459893-1980-4-git-send-email-alevy@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Alon Levy May 31, 2012, 10:24 a.m.
---
 src/qxl_surface.c |    2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/qxl_surface.c b/src/qxl_surface.c
index a8901f0..cb0de1d 100644
--- a/src/qxl_surface.c
+++ b/src/qxl_surface.c
@@ -357,8 +357,6 @@  make_surface_cmd (surface_cache_t *cache, uint32_t id, QXLSurfaceCmdType type)
     struct QXLSurfaceCmd *cmd;
     qxl_screen_t *qxl = cache->qxl;
 
-    qxl_garbage_collect (qxl);
-    
     cmd = qxl_allocnf (qxl, sizeof *cmd);
 
     cmd->release_info.id = pointer_to_u64 (cmd) | 2;