From f8fb11297cbc77f58ed83e4901f2cb8c6a38937e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:44:31 +0000 Subject: do not try to mount /proc/bus/usb --- mdk-stage1/probing.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mdk-stage1/probing.c') diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index d841941b3..5f9983efb 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -429,11 +429,6 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u if (!already_mounted_usbdev) { already_mounted_usbdev = 1; - if (mount("none", "/proc/bus/usb", "usbfs", 0, NULL) && - mount("none", "/proc/bus/usb", "usbdevfs", 0, NULL)) { - log_message("USB: couldn't mount /proc/bus/usb"); - goto end_usb_probe; - } wait_message("Detecting USB devices."); sleep(4); /* sucking background work */ my_insmod("usbhid", ANY_DRIVER_TYPE, NULL, 0); -- cgit v1.2.1