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

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

 



Removed unused functions.
All these function where introduced by the patch without
being used.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/red-channel.c | 24 ------------------------
 server/red-channel.h |  5 -----
 2 files changed, 29 deletions(-)

diff --git a/server/red-channel.c b/server/red-channel.c
index 36ce44f..3b14fbf 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -1018,30 +1018,6 @@ void red_channel_send_item(RedChannel *self, RedChannelClient *rcc, RedPipeItem
     klass->send_item(rcc, item);
 }
 
-uint8_t* red_channel_alloc_recv_buf(RedChannel *self, RedChannelClient *rcc,
-                                    uint16_t type, uint32_t size)
-{
-    RedChannelClass *klass = RED_CHANNEL_GET_CLASS(self);
-
-    return klass->alloc_recv_buf(rcc, type, size);
-}
-
-void red_channel_release_recv_buf(RedChannel *self, RedChannelClient *rcc,
-                                  uint16_t type, uint32_t size, uint8_t *msg)
-{
-    RedChannelClass *klass = RED_CHANNEL_GET_CLASS(self);
-
-    klass->release_recv_buf(rcc, type, size, msg);
-}
-
-int red_channel_handle_migrate_flush_mark(RedChannel *self, RedChannelClient *rcc)
-{
-    RedChannelClass *klass = RED_CHANNEL_GET_CLASS(self);
-    g_return_val_if_fail(klass->handle_migrate_flush_mark, FALSE);
-
-    return klass->handle_migrate_flush_mark(rcc);
-}
-
 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 f99a03f..89aab8d 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -316,11 +316,6 @@ SpiceCoreInterfaceInternal* red_channel_get_core_interface(RedChannel *channel);
 int red_channel_config_socket(RedChannel *self, RedChannelClient *rcc);
 void red_channel_on_disconnect(RedChannel *self, RedChannelClient *rcc);
 void red_channel_send_item(RedChannel *self, RedChannelClient *rcc, RedPipeItem *item);
-uint8_t* red_channel_alloc_recv_buf(RedChannel *self, RedChannelClient *rcc,
-                                    uint16_t type, uint32_t size);
-void red_channel_release_recv_buf(RedChannel *self, RedChannelClient *rcc,
-                                  uint16_t type, uint32_t size, uint8_t *msg);
-int red_channel_handle_migrate_flush_mark(RedChannel *self, RedChannelClient *rcc);
 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]