From: Ian Jackson Date: Tue, 19 May 2009 14:41:34 +0000 (+0100) Subject: qemu xen upstream synch (Gerd): [PATCH 6/7] xenfb: kill unused variables X-Git-Tag: xen-4.0.0-rc1~83 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c0a60ac70f390b149348d8860ff109063fa13ac7;p=qemu-xen-4.1-testing.git qemu xen upstream synch (Gerd): [PATCH 6/7] xenfb: kill unused variables [This is] a series of patches for qemu-xen, making the code identical to the xen support patches being submitted to upstream qemu. The review process on qemu-devel resulted in a number of fixes and cleanups in the backend code, this is where most of the changes come from. There are also some xenfb changes due to displaystate reorganization and xenfb being merged in steps due to that. Signed-off-by: Gerd Hoffmann --- diff --git a/hw/xenfb.c b/hw/xenfb.c index d9e5c33db..97960ba0c 100644 --- a/hw/xenfb.c +++ b/hw/xenfb.c @@ -695,8 +695,6 @@ static void xenfb_update(void *opaque) { struct XenFB *xenfb = opaque; struct DisplayChangeListener *l; - int dw = ds_get_width(xenfb->c.ds); - int dh = ds_get_height(xenfb->c.ds); int i; if (xenfb->c.xendev.be_state != XenbusStateConnected)