[Spice-commits] src/channel-main.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 4 16:14:55 UTC 2020
src/channel-main.c | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit 41c8a60e5e9451080863d2f87bb0f5007a71cc34
Author: Frediano Ziglio <freddy77 at gmail.com>
Date: Tue Aug 4 15:50:03 2020 +0100
channel-main: Remove unused declaration
OldRedMigrationBegin is not used. Last usage removed in
commit f944ad6935f12efe47f78cbde1c5e6db31442597
More cleanup for old protocol support
Support for protocol version 1 was dropped in commit f77a1d50.
Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/src/channel-main.c b/src/channel-main.c
index e944771..3dd94a2 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -2326,16 +2326,6 @@ static gboolean main_migrate_handshake_done(gpointer data)
return FALSE;
}
-#ifdef __GNUC__
-typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin {
-#else
-typedef struct __declspec(align(1)) OldRedMigrationBegin {
-#endif
- uint16_t port;
- uint16_t sport;
- char host[0];
-} OldRedMigrationBegin;
-
/* main context */
static gboolean migrate_connect(gpointer data)
{
More information about the Spice-commits
mailing list