OSDN Git Service

Revert "staging: gasket: core: hold reference to pci_dev while used"
authorTodd Poynor <toddpoynor@google.com>
Fri, 3 Aug 2018 01:49:52 +0000 (18:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:12:53 +0000 (16:12 +0200)
commit515bc432e4a5b597e36d915df9fb3194c7083078
tree1f86b1c47db4d8df7e7676cce89a9bbaa8e0b612
parenta43a98da75ff2821e484e5cb2a7f3ad0354255c8
Revert "staging: gasket: core: hold reference to pci_dev while used"

There's no need to take an additional reference on the pci_dev structure
for the pointer copy saved in gasket data structures.

This reverts commit:
8dd8a48b9a7d ("staging: gasket: core: hold reference to pci_dev while used")

Reported-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c