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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unused red_channel_handle_migrate_data_get_serial

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]