Acked-by: Christophe Fergeau <cferg...@redhat.com>

On Tue, Jun 21, 2016 at 10:27:00AM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
> ---
>  common/ring.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/common/ring.h b/common/ring.h
> index b13bc7d..4b0e313 100644
> --- a/common/ring.h
> +++ b/common/ring.h
> @@ -155,9 +155,7 @@ static inline unsigned int ring_get_length(Ring *ring)
>      RingItem *i;
>      unsigned int ret = 0;
>  
> -    for (i = ring_get_head(ring);
> -         i != NULL;
> -         i = ring_next(ring, i))
> +    RING_FOREACH(i, ring)
>          ret++;
>  
>      return ret;
> -- 
> 2.7.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

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

Reply via email to