Skip to content
Snippets Groups Projects
Commit 0741a951 authored by Diego Woitasen's avatar Diego Woitasen Committed by Greg Kroah-Hartman
Browse files

PCI: remove unneeded lock_kernel() in drivers/pci/syscall.c.


sys_pciconfig_{read,write}() are protected against PCI removal with the
reference count in struct pci_dev.  The concurrency of
pci_user_{read,write}_config_* functions are already protected by pci_lock
in drivers/pci/access.c.

Signed-off-by: default avatarDiego Woitasen <diego@woitasen.com.ar>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 10d7425d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment