diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 449e890267a2..68316b59d7d3 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c @@ -431,8 +431,6 @@ int pci_proc_detach_device(struct pci_dev *dev) struct proc_dir_entry *e; if ((e = dev->procent)) { - if (atomic_read(&e->count) > 1) - return -EBUSY; remove_proc_entry(e->name, dev->bus->procdir); dev->procent = NULL; } |