summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-11-23 10:43:49 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-11-23 11:50:13 +0000
commit70971e99236d4cd32925de5f537f4b278edda80a (patch)
tree0e9dc26fba79e064ee5cb3aaccfa20e453edc437 /server
parent96049b7c3a323d923e21c7d3601d1aec0151b6f8 (diff)
downloadspice-70971e99236d4cd32925de5f537f4b278edda80a.zip
spice-70971e99236d4cd32925de5f537f4b278edda80a.tar.gz
spice-70971e99236d4cd32925de5f537f4b278edda80a.tar.xz
red channel: Remove unused red_channel_apply_clients_data
It was introduced in 7e8e13593ee681cf04c349bca57dd225d7802494 but never used. Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/red_channel.c12
-rw-r--r--server/red_channel.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index c214494..609c83f 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 0e0138f..7f2584a 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;