This field was never actually used, only changed. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/reds-private.h | 1 - server/reds.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/reds-private.h b/server/reds-private.h index b8119ca..915bcf6 100644 --- a/server/reds-private.h +++ b/server/reds-private.h @@ -62,7 +62,6 @@ typedef struct RedsMigTargetClient { /* Intermediate state for on going monitors config message from a single * client, being passed to the guest */ typedef struct RedsClientMonitorsConfig { - MainChannelClient *mcc; uint8_t *buffer; int buffer_size; int buffer_pos; diff --git a/server/reds.c b/server/reds.c index 2a8f905..3e30c38 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1083,7 +1083,6 @@ static void reds_client_monitors_config_cleanup(RedsState *reds) cmc->buffer_size = cmc->buffer_pos = 0; free(cmc->buffer); cmc->buffer = NULL; - cmc->mcc = NULL; } static void reds_on_main_agent_monitors_config(RedsState *reds, @@ -1096,7 +1095,6 @@ static void reds_on_main_agent_monitors_config(RedsState *reds, cmc->buffer_size += size; cmc->buffer = realloc(cmc->buffer, cmc->buffer_size); spice_assert(cmc->buffer); - cmc->mcc = mcc; memcpy(cmc->buffer + cmc->buffer_pos, message, size); cmc->buffer_pos += size; msg_header = (VDAgentMessage *)cmc->buffer; -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel