From: Paolo Bonzini Date: Thu, 4 Feb 2010 13:31:53 +0000 (+0100) Subject: usb-linux.c: remove write-only variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b29a7def92a47a94fb1a8259db140a464341f778;p=qemu.git usb-linux.c: remove write-only variable Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/usb-linux.c b/usb-linux.c index 1aaa5950f5..ba8facf3b8 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1007,11 +1007,9 @@ USBDevice *usb_host_device_open(const char *devname) { struct USBAutoFilter filter; USBDevice *dev; - USBHostDevice *s; char *p; dev = usb_create(NULL /* FIXME */, "usb-host"); - s = DO_UPCAST(USBHostDevice, dev, dev); if (strstr(devname, "auto:")) { if (parse_filter(devname, &filter) < 0)