diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-30 13:02:47 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-19 12:30:05 +0100 |
| commit | 1a3973b33d36583d7194798f789a37759a13e269 (patch) | |
| tree | e34c62d13d0ac6f7aa80e3180b87de65430ee2ce /vl.c | |
| parent | 4075975d832c55abdfc951726e54f9a28a2421c8 (diff) | |
| download | focaccia-qemu-1a3973b33d36583d7194798f789a37759a13e269.tar.gz focaccia-qemu-1a3973b33d36583d7194798f789a37759a13e269.zip | |
usb-host: remove usb_host_device_close
Nobody implements that anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'vl.c')
| -rw-r--r-- | vl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vl.c b/vl.c index c5b0eea29b..955d2ffe0f 100644 --- a/vl.c +++ b/vl.c @@ -1427,8 +1427,9 @@ static int usb_device_del(const char *devname) int bus_num, addr; const char *p; - if (strstart(devname, "host:", &p)) - return usb_host_device_close(p); + if (strstart(devname, "host:", &p)) { + return -1; + } if (!usb_enabled(false)) { return -1; |