[Spice-devel] [PATCH spice-server 5/5] display-channel: Remove useless parenthesis

Christophe Fergeau cfergeau at redhat.com
Tue Oct 9 11:48:42 UTC 2018


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Tue, Oct 09, 2018 at 09:30:06AM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/display-channel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/display-channel.c b/server/display-channel.c
> index b5e4b61d..17fa4409 100644
> --- a/server/display-channel.c
> +++ b/server/display-channel.c
> @@ -215,7 +215,7 @@ int display_channel_get_streams_timeout(DisplayChannel *display)
>          if (delta < NSEC_PER_MILLISEC) {
>              return 0;
>          }
> -        timeout = MIN(timeout, (unsigned int)(delta / (NSEC_PER_MILLISEC)));
> +        timeout = MIN(timeout, (unsigned int)(delta / NSEC_PER_MILLISEC));
>      }
>      return timeout;
>  }
> -- 
> 2.17.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181009/226e52dd/attachment.sig>


More information about the Spice-devel mailing list