Message ID | 4C21B1EA.6090307@jp.fujitsu.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Index: linux-2.6.34/drivers/pci/proc.c =================================================================== --- linux-2.6.34.orig/drivers/pci/proc.c +++ linux-2.6.34/drivers/pci/proc.c @@ -431,8 +431,6 @@ int pci_proc_detach_device(struct pci_de 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; }