The patch titled Remove unused device_probe_drivers function has been added to the -mm tree. Its filename is remove-unused-device_probe_drivers-function.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Remove unused device_probe_drivers function From: Chris Wedgwood <cw@xxxxxxxx> Signed-off-by: Chris Wedgwood <cw@xxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/base/dd.c | 13 ------------- 1 files changed, 13 deletions(-) diff -puN drivers/base/dd.c~remove-unused-device_probe_drivers-function drivers/base/dd.c --- a/drivers/base/dd.c~remove-unused-device_probe_drivers-function +++ 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. _ Patches currently in -mm which might be from cw@xxxxxxxx are remove-unused-device_probe_drivers-function.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html