From: Jack Lange Date: Tue, 9 Nov 2010 21:04:37 +0000 (-0600) Subject: minor fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4062388960d7fbe39e980b1b06226861e93d0b3;p=palacios.git minor fix --- diff --git a/palacios/src/devices/stream.c b/palacios/src/devices/stream.c index 8c5d61e..66ee74f 100644 --- a/palacios/src/devices/stream.c +++ b/palacios/src/devices/stream.c @@ -38,8 +38,7 @@ struct stream_state { static int stream_write(uint8_t * buf, uint64_t length, void * private_data) { - struct vm_device *dev = (struct vm_device *) private_data; - struct stream_state *state = (struct stream_state *) dev->private_data; + struct stream_state *state = (struct stream_state *)private_data; return v3_stream_write(state->stream, buf, length); }