diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-02-04 14:31:53 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-05 18:13:25 +0000 |
commit | b29a7def92a47a94fb1a8259db140a464341f778 (patch) | |
tree | 60684e2e3ee9ddc523c118d273b2de21084ec00e /usb-linux.c | |
parent | bca403c8b87557b37bc8a9ff6434da1e1993537b (diff) | |
download | qemu-b29a7def92a47a94fb1a8259db140a464341f778.tar.gz qemu-b29a7def92a47a94fb1a8259db140a464341f778.tar.bz2 qemu-b29a7def92a47a94fb1a8259db140a464341f778.zip |
usb-linux.c: remove write-only variable
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'usb-linux.c')
-rw-r--r-- | usb-linux.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) |