[Spice-commits] server/red-channel.c server/red-channel.h
Christophe Fergau
teuf at kemper.freedesktop.org
Thu Sep 7 14:04:34 UTC 2017
server/red-channel.c | 13 -------------
server/red-channel.h | 2 --
2 files changed, 15 deletions(-)
New commits:
commit 92f1edf714dbb029890a0ad0303bb9f18a8cc18b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Wed Sep 6 18:14:56 2017 +0200
channel: Remove unused red_channel_min_pipe_size
This could have been removed as part of 6e6126e024.
Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
Frediano Ziglio <fziglio at redhat.com>
diff --git a/server/red-channel.c b/server/red-channel.c
index 5d832c32..97be2f2b 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -616,19 +616,6 @@ uint32_t red_channel_max_pipe_size(RedChannel *channel)
return pipe_size;
}
-uint32_t red_channel_min_pipe_size(RedChannel *channel)
-{
- RedChannelClient *rcc;
- uint32_t pipe_size = ~0;
-
- FOREACH_CLIENT(channel, rcc) {
- uint32_t new_size;
- new_size = red_channel_client_get_pipe_size(rcc);
- pipe_size = MIN(pipe_size, new_size);
- }
- return pipe_size == ~0 ? 0 : pipe_size;
-}
-
uint32_t red_channel_sum_pipes_size(RedChannel *channel)
{
RedChannelClient *rcc;
diff --git a/server/red-channel.h b/server/red-channel.h
index e8feea2c..55cfa7e1 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -203,8 +203,6 @@ void red_channel_connect(RedChannel *channel, RedClient *client,
/* return the sum of all the rcc pipe size */
uint32_t red_channel_max_pipe_size(RedChannel *channel);
-/* return the min size of all the rcc pipe */
-uint32_t red_channel_min_pipe_size(RedChannel *channel);
/* return the max size of all the rcc pipe */
uint32_t red_channel_sum_pipes_size(RedChannel *channel);
More information about the Spice-commits
mailing list