usb-linux.c: remove write-only variable
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
bca403c8b8
commit
b29a7def92
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user