dc: link is never null here

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-05-14 13:39:52 +01:00
parent 1d39275c3d
commit a3ad49b326

View File

@ -497,9 +497,7 @@ 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 (link) {
link = link->next;
}
link = link->next;
}
out_loop:
/* not sending other_drawable where possible */