mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 22:10:46 +00:00
channel: Remove unused red_channel_min_pipe_size
This could have been removed as part of 6e6126e024.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
5d7ecb0162
commit
92f1edf714
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user