diff options
Diffstat (limited to 'drivers/base/dd.c')
| -rw-r--r-- | drivers/base/dd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 92428e55b0c2..b0088b0efecd 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c | |||
| @@ -207,19 +207,6 @@ static int __device_attach(struct device_driver * drv, void * data) | |||
| 207 | return driver_probe_device(drv, dev); | 207 | return driver_probe_device(drv, dev); |
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | static int device_probe_drivers(void *data) | ||
| 211 | { | ||
| 212 | struct device *dev = data; | ||
| 213 | int ret = 0; | ||
| 214 | |||
| 215 | if (dev->bus) { | ||
| 216 | down(&dev->sem); | ||
| 217 | ret = bus_for_each_drv(dev->bus, NULL, dev, __device_attach); | ||
| 218 | up(&dev->sem); | ||
| 219 | } | ||
| 220 | return ret; | ||
| 221 | } | ||
| 222 | |||
| 223 | /** | 210 | /** |
| 224 | * device_attach - try to attach device to a driver. | 211 | * device_attach - try to attach device to a driver. |
| 225 | * @dev: device. | 212 | * @dev: device. |
