Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 server/display-channel.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/server/display-channel.c b/server/display-channel.c
index fc232fb..31ec5d0 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -529,10 +529,8 @@ static int current_add_equal(DisplayChannel *display, 
DrawItem *item, TreeItem *
                 if (dpi_ring_item) {
                     dpi_ring_item = ring_next(&other_drawable->pipes, 
dpi_ring_item);
                 }
-                if (worker_ring_item) {
-                    worker_ring_item = 
ring_next(&RED_CHANNEL(display)->clients,
-                                                 worker_ring_item);
-                }
+                worker_ring_item = ring_next(&RED_CHANNEL(display)->clients,
+                                             worker_ring_item);
             }
 out_loop:
             /* not sending other_drawable where possible */
-- 
2.7.4

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

Reply via email to