mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-29 08:47:13 +00:00
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:
parent
96049b7c3a
commit
70971e9923
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user