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) |
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
@@ -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; |