commit | 3b7f1016628e04f937bafd468ce6fa437b92e275 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Jul 25 10:36:14 2014 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Sep 03 12:42:33 2014 -0600 |
tree | 45cfb89bd40723a61ec93f59a73d2858b2fd2144 | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef [diff] |
PCI: Remove unnecessary variable in pci_add_dynid() 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>