[Spice-devel] [PATCH spice-server 06/15] red channel: Remove unused red_channel_client_pipe_item_is_linked
Pavel Grunt
pgrunt at redhat.com
Thu Nov 19 11:44:56 PST 2015
It is not needed since ef9a8bf05328d290f82613037f5419f0d5e87eb5
Signed-off-by: Pavel Grunt <pgrunt at redhat.com>
---
server/red_channel.c | 6 ------
server/red_channel.h | 1 -
2 files changed, 7 deletions(-)
diff --git a/server/red_channel.c b/server/red_channel.c
index a57415e..6a3155a 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -1686,12 +1686,6 @@ void red_channel_client_pipe_add_after(RedChannelClient *rcc,
ring_add_after(&item->link, &pos->link);
}
-int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc,
- PipeItem *item)
-{
- return ring_item_is_linked(&item->link);
-}
-
void red_channel_client_pipe_add_tail_no_push(RedChannelClient *rcc,
PipeItem *item)
{
diff --git a/server/red_channel.h b/server/red_channel.h
index 4945e59..0f9a51d 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -481,7 +481,6 @@ void red_channel_pipes_new_add(RedChannel *channel, new_pipe_item_t creator, voi
void red_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add_after(RedChannelClient *rcc, PipeItem *item, PipeItem *pos);
-int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_remove_and_release(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add_tail(RedChannelClient *rcc, PipeItem *item);
/* for types that use this routine -> the pipe item should be freed */
--
2.5.0
More information about the Spice-devel
mailing list