red channel: Remove unused red_channel_apply_clients_data

It was introduced in 7e8e13593e
but never used.

Signed-off-by: Pavel Grunt <pgrunt@redhat.com>
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Pavel Grunt 2015-11-23 10:43:49 +01:00 committed by Frediano Ziglio
parent 96049b7c3a
commit 70971e9923
2 changed files with 0 additions and 13 deletions

View File

@ -1936,18 +1936,6 @@ void red_channel_apply_clients(RedChannel *channel, channel_client_callback cb)
}
}
void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data cb, void *data)
{
RingItem *link;
RingItem *next;
RedChannelClient *rcc;
RING_FOREACH_SAFE(link, next, &channel->clients) {
rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link);
cb(rcc, data);
}
}
int red_channel_all_blocked(RedChannel *channel)
{
RingItem *link;

View File

@ -560,7 +560,6 @@ uint32_t red_channel_sum_pipes_size(RedChannel *channel);
typedef void (*channel_client_callback)(RedChannelClient *rcc);
typedef void (*channel_client_callback_data)(RedChannelClient *rcc, void *data);
void red_channel_apply_clients(RedChannel *channel, channel_client_callback v);
void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data v, void *data);
struct RedClient {
RingItem link;