[Spice-devel] [PATCH spice-server 04/15] red channel: Remove unused red_channel_test_remote_common_cap
Pavel Grunt
pgrunt at redhat.com
Thu Nov 19 11:44:54 PST 2015
It was introduced in 49a8d68303f3d8681a9c61d74e0675279649d480
but never used.
Signed-off-by: Pavel Grunt <pgrunt at redhat.com>
---
server/red_channel.c | 14 --------------
server/red_channel.h | 1 -
2 files changed, 15 deletions(-)
diff --git a/server/red_channel.c b/server/red_channel.c
index 7330ae2..1c9cfc6 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -692,20 +692,6 @@ int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap)
cap);
}
-int red_channel_test_remote_common_cap(RedChannel *channel, uint32_t cap)
-{
- RingItem *link;
-
- RING_FOREACH(link, &channel->clients) {
- RedChannelClient *rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link);
-
- if (!red_channel_client_test_remote_common_cap(rcc, cap)) {
- return FALSE;
- }
- }
- return TRUE;
-}
-
int red_channel_test_remote_cap(RedChannel *channel, uint32_t cap)
{
RingItem *link;
diff --git a/server/red_channel.h b/server/red_channel.h
index 4deecb6..16e9976 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -423,7 +423,6 @@ int red_channel_client_test_remote_common_cap(RedChannelClient *rcc, uint32_t ca
int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap);
/* return true if all the channel clients support the cap */
-int red_channel_test_remote_common_cap(RedChannel *channel, uint32_t cap);
int red_channel_test_remote_cap(RedChannel *channel, uint32_t cap);
/* shutdown is the only safe thing to do out of the client/channel
--
2.5.0
More information about the Spice-devel
mailing list