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:
Christophe Fergeau 2017-09-06 18:14:56 +02:00
parent 5d7ecb0162
commit 92f1edf714
2 changed files with 0 additions and 15 deletions

View File

@ -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;

View File

@ -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);