From: Tobias Klauser Date: Fri, 25 Jul 2014 08:36:14 +0000 (+0200) Subject: PCI: Remove unnecessary variable in pci_add_dynid() X-Git-Tag: fixes-against-v3.18-rc2~139^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b7f1016628e04f937bafd468ce6fa437b92e275;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed