From: Julia Lawall Date: Thu, 13 Dec 2007 23:56:07 +0000 (-0800) Subject: [POWERPC] arch/ppc: Remove an unnecessary pci_dev_put X-Git-Tag: v2.6.25-rc1~1131^2~226 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4c2edc90c020ba5573da5dbd796fd6ab78692b;p=pandora-kernel.git [POWERPC] arch/ppc: Remove an unnecessary pci_dev_put Remove an unnecessary pci_dev_put. pci_dev_put is called implicitly by the subsequent call to pci_get_device. The problem was detected using the following semantic patch, and corrected by hand. @@ expression dev; expression E; @@ - pci_dev_put(dev) ... when != dev = E - pci_get_device(...,dev) Signed-off-by: Julia Lawall Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed