summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-11-23 10:43:50 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-11-23 11:51:05 +0000
commite20b44bf519a8b99b7d7f8fd300bae9c27069b72 (patch)
treea97e561ba322ee7c0c4eaf74322f10ce4c4b1e8a /server
parent70971e99236d4cd32925de5f537f4b278edda80a (diff)
downloadspice-e20b44bf519a8b99b7d7f8fd300bae9c27069b72.tar.gz
spice-e20b44bf519a8b99b7d7f8fd300bae9c27069b72.tar.xz
spice-e20b44bf519a8b99b7d7f8fd300bae9c27069b72.zip
main channel: Remove unused main_channel_push_notify
It is not needed since 8d44aa032892ea6643925fa7485d9af32853e127 Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/main_channel.c6
-rw-r--r--server/main_channel.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/server/main_channel.c b/server/main_channel.c
index 176584af..472ddd6b 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -579,12 +579,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 d371d794..e7027bcc 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);