It was introduced in 7e8e13593ee681cf04c349bca57dd225d7802494 but never used. Signed-off-by: Pavel Grunt <pgrunt@xxxxxxxxxx> --- server/red_channel.c | 12 ------------ server/red_channel.h | 1 - 2 files changed, 13 deletions(-) diff --git a/server/red_channel.c b/server/red_channel.c index c47ded5..c03c95a 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -1923,18 +1923,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 a755d21..470c19e 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -557,7 +557,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; -- 2.5.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel