git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52addcf
)
PCI: Remove unnecessary variable in pci_add_dynid()
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 25 Jul 2014 08:36:14 +0000
(10:36 +0200)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 3 Sep 2014 18:42:33 +0000
(12:42 -0600)
The variable "retval" in pci_add_dynid() is only used to store the return
value of driver_attach() and is then directly returned. Remove the
variable and directly pass on driver_attach()'s return value.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
No differences found