PCI: remove pci_present() from drivers/pci/syscall.c
drivers/pci/syscall.c | 2 --
1 files changed, 2 deletions(-)
diff -Nru a/drivers/pci/syscall.c b/drivers/pci/syscall.c
--- a/drivers/pci/syscall.c Tue Jun 10 11:19:57 2003
+++ b/drivers/pci/syscall.c Tue Jun 10 11:19:57 2003
@@ -98,8 +98,6 @@
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
- if (!pci_present())
- return -ENOSYS;
dev = pci_find_slot(bus, dfn);
if (!dev)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/