diff options
-rw-r--r-- | server/red_channel.c | 12 | ||||
-rw-r--r-- | server/red_channel.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index c214494d..609c83f0 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -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; diff --git a/server/red_channel.h b/server/red_channel.h index 0e0138f1..7f2584a5 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -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; |