projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'upstream-3.19-rc1' of git://git.infradead.org/linux-ubifs
[linux-2.6-microblaze.git]
/
drivers
/
pci
/
search.c
diff --git
a/drivers/pci/search.c
b/drivers/pci/search.c
index
a81f413
..
a20ce7d
100644
(file)
--- a/
drivers/pci/search.c
+++ b/
drivers/pci/search.c
@@
-271,8
+271,7
@@
static struct pci_dev *pci_get_dev_by_id(const struct pci_device_id *id,
match_pci_dev_by_id);
if (dev)
pdev = to_pci_dev(dev);
- if (from)
- pci_dev_put(from);
+ pci_dev_put(from);
return pdev;
}