summaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/usb-linux.c b/usb-linux.c
index a499c10e94..334b45d30f 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -34,7 +34,6 @@
#include "qemu-timer.h"
#include "console.h"
-#if defined(__linux__)
#include <dirent.h>
#include <sys/ioctl.h>
#include <signal.h>
@@ -1697,25 +1696,3 @@ void usb_host_info(void)
term_printf(" Device %s.%s ID %s:%s\n", bus, addr, vid, pid);
}
}
-
-#else
-
-#include "hw/usb.h"
-
-void usb_host_info(void)
-{
- term_printf("USB host devices not supported\n");
-}
-
-/* XXX: modify configure to compile the right host driver */
-USBDevice *usb_host_device_open(const char *devname)
-{
- return NULL;
-}
-
-int usb_host_device_close(const char *devname)
-{
- return 0;
-}
-
-#endif