From: Andrew Morton drivers/base/dd.c:211: warning: 'device_probe_drivers' defined but not used Cc: Greg KH Signed-off-by: Andrew Morton --- drivers/base/dd.c | 13 ------------- 1 file changed, 13 deletions(-) diff -puN drivers/base/dd.c~fix-gregkh-pci-pci-remove-the-broken-pci_multithread_probe-option drivers/base/dd.c --- a/drivers/base/dd.c~fix-gregkh-pci-pci-remove-the-broken-pci_multithread_probe-option +++ a/drivers/base/dd.c @@ -207,19 +207,6 @@ static int __device_attach(struct device return driver_probe_device(drv, dev); } -static int device_probe_drivers(void *data) -{ - struct device *dev = data; - int ret = 0; - - if (dev->bus) { - down(&dev->sem); - ret = bus_for_each_drv(dev->bus, NULL, dev, __device_attach); - up(&dev->sem); - } - return ret; -} - /** * device_attach - try to attach device to a driver. * @dev: device. _