aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-04 14:31:53 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-02-05 18:13:25 +0000
commitb29a7def92a47a94fb1a8259db140a464341f778 (patch)
tree60684e2e3ee9ddc523c118d273b2de21084ec00e /usb-linux.c
parentbca403c8b87557b37bc8a9ff6434da1e1993537b (diff)
downloadqemu-b29a7def92a47a94fb1a8259db140a464341f778.zip
qemu-b29a7def92a47a94fb1a8259db140a464341f778.tar.gz
qemu-b29a7def92a47a94fb1a8259db140a464341f778.tar.bz2
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usb-linux.c b/usb-linux.c
index 1aaa595..ba8facf 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)