[Spice-devel] [PATCH spice-server v2 10/11] main channel: Remove unused main_channel_push_notify

Pavel Grunt pgrunt at redhat.com
Mon Nov 23 01:43:50 PST 2015


It is not needed since 8d44aa032892ea6643925fa7485d9af32853e127

Signed-off-by: Pavel Grunt <pgrunt at redhat.com>
---
 server/main_channel.c | 6 ------
 server/main_channel.h | 1 -
 2 files changed, 7 deletions(-)

diff --git a/server/main_channel.c b/server/main_channel.c
index 0ecc9df..252d799 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -578,12 +578,6 @@ void main_channel_push_uuid(MainChannelClient *mcc, const uint8_t uuid[16])
     red_channel_client_pipe_add_push(&mcc->base, item);
 }
 
-void main_channel_push_notify(MainChannel *main_chan, const char *msg)
-{
-    red_channel_pipes_new_add_push(&main_chan->base,
-        main_notify_item_new, (void *)msg);
-}
-
 void main_channel_client_push_notify(MainChannelClient *mcc, const char *msg)
 {
     PipeItem *item = main_notify_item_new(&mcc->base, (void *)msg, 1);
diff --git a/server/main_channel.h b/server/main_channel.h
index d371d79..e7027bc 100644
--- a/server/main_channel.h
+++ b/server/main_channel.h
@@ -67,7 +67,6 @@ void main_channel_client_start_net_test(MainChannelClient *mcc, int test_rate);
 void main_channel_push_init(MainChannelClient *mcc, int display_channels_hint,
     int current_mouse_mode, int is_client_mouse_allowed, int multi_media_time,
     int ram_hint);
-void main_channel_push_notify(MainChannel *main_chan, const char *msg);
 void main_channel_client_push_notify(MainChannelClient *mcc, const char *msg);
 void main_channel_push_multi_media_time(MainChannel *main_chan, int time);
 int main_channel_getsockname(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen);
-- 
2.5.0



More information about the Spice-devel mailing list