[Spice-devel] [PATCH spice-server 5/5] display-channel: Remove useless parenthesis
Frediano Ziglio
fziglio at redhat.com
Tue Oct 9 08:30:06 UTC 2018
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
More information about the Spice-devel
mailing list