Commit 0cd71aa2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/pci/syscall.c

parent d66f54e5
......@@ -98,8 +98,6 @@ sys_pciconfig_write(unsigned long bus, unsigned long dfn,
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
if (!pci_present())
return -ENOSYS;
dev = pci_find_slot(bus, dfn);
if (!dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment