Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57488
b: refs/heads/master
c: 475c5a1
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Greg Kroah-Hartman committed Jun 8, 2007
1 parent 565cac3 commit c4f1a1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c7afd125cc482dbdf6b0a169c42337e7e76cda5
refs/heads/master: 475c5a1518477f0301fc50dc59e690032fad1fef
13 changes: 0 additions & 13 deletions trunk/drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,6 @@ static int __device_attach(struct device_driver * drv, void * data)
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.
Expand Down

0 comments on commit c4f1a1d

Please sign in to comment.