[Spice-devel] [PATCH spice-server v8 07/12] fixup! Convert RedChannel hierarchy to GObject

Frediano Ziglio fziglio at redhat.com
Mon Oct 24 08:40:50 UTC 2016


Remove unused red_channel_handle_migrate_data_get_serial

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/red-channel.c | 10 ----------
 server/red-channel.h |  3 ---
 2 files changed, 13 deletions(-)

diff --git a/server/red-channel.c b/server/red-channel.c
index f9973fe..7a03307 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -1049,16 +1049,6 @@ int red_channel_handle_migrate_data(RedChannel *self, RedChannelClient *rcc,
     return klass->handle_migrate_data(rcc, size, message);
 }
 
-uint64_t red_channel_handle_migrate_data_get_serial(RedChannel *self,
-                                                    RedChannelClient *rcc,
-                                                    uint32_t size, void *message)
-{
-    RedChannelClass *klass = RED_CHANNEL_GET_CLASS(self);
-    g_return_val_if_fail(klass->handle_migrate_data_get_serial, 0);
-
-    return klass->handle_migrate_data_get_serial(rcc, size, message);
-}
-
 IncomingHandlerInterface* red_channel_get_incoming_handler(RedChannel *self)
 {
     return &self->priv->incoming_cb;
diff --git a/server/red-channel.h b/server/red-channel.h
index f95151c..bf4772b 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -323,9 +323,6 @@ void red_channel_release_recv_buf(RedChannel *self, RedChannelClient *rcc,
 int red_channel_handle_migrate_flush_mark(RedChannel *self, RedChannelClient *rcc);
 int red_channel_handle_migrate_data(RedChannel *self, RedChannelClient *rcc,
                                     uint32_t size, void *message);
-uint64_t red_channel_handle_migrate_data_get_serial(RedChannel *self,
-                                                    RedChannelClient *rcc,
-                                                    uint32_t size, void *message);
 void red_channel_reset_thread_id(RedChannel *self);
 StatNodeRef red_channel_get_stat_node(RedChannel *channel);
 
-- 
2.7.4



More information about the Spice-devel mailing list