From 1a3973b33d36583d7194798f789a37759a13e269 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 30 Nov 2012 13:02:47 +0100 Subject: usb-host: remove usb_host_device_close Nobody implements that anyway. Signed-off-by: Gerd Hoffmann --- vl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vl.c') 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; -- cgit v1.2.3