[PATCH 2/4] server/red_worker: remove redundant spice_warn_if in validate_surface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alon Levy <alon@xxxxxxxxx>

---
 server/red_worker.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index d25feb0..1069055 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -1308,7 +1308,6 @@ static inline int validate_surface(RedWorker *worker, uint32_t surface_id)
         spice_warning("canvas address is %p for %d (and is NULL)\n",
                    &(worker->surfaces[surface_id].context.canvas), surface_id);
         spice_warning("failed on %d", surface_id);
-        spice_warn_if(!worker->surfaces[surface_id].context.canvas);
         return 0;
     }
     return 1;
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]