summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-10-31 17:41:46 +0200
committerAlon Levy <alevy@redhat.com>2010-11-08 16:06:49 +0200
commitbd30095c7543fbe01fb87f46c71cc83a052cf37e (patch)
tree20fdf0156845d213e5edd57e497c12147028b7bc
parent0ede43e893721807813b2ad09b2a2ce8c213abe6 (diff)
downloadspice-bd30095c7543fbe01fb87f46c71cc83a052cf37e.tar.gz
spice-bd30095c7543fbe01fb87f46c71cc83a052cf37e.tar.xz
spice-bd30095c7543fbe01fb87f46c71cc83a052cf37e.zip
reds: remove needless buffer in InputsState
-rw-r--r--server/reds.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/reds.c b/server/reds.c
index 7ab49254..9ce78790 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -208,8 +208,6 @@ typedef struct VDIPortState {
typedef struct InputsState {
Channel *channel;
RedsStreamContext *peer;
- uint8_t buf[RECIVE_BUF_SIZE];
- uint32_t end_pos;
IncomingHandler in_handler;
OutgoingHandler out_handler;
VDAgentMouseState mouse_state;
@@ -2431,7 +2429,6 @@ static void inputs_link(Channel *channel, RedsStreamContext *peer, int migration
}
inputs_state->peer = peer;
- inputs_state->end_pos = 0;
inputs_state->channel = channel;
inputs_state->in_handler.parser = spice_get_client_channel_parser(SPICE_CHANNEL_INPUTS, NULL);
inputs_state->in_handler.opaque = inputs_state;