android_kernel_xiaomi_sm8350/arch/ppc
Julia Lawall bd4c2edc90 [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 <julia@diku.dk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-20 17:13:50 +11:00
..
4xx_io
8xx_io [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem 2007-09-28 10:25:32 -05:00
8260_io
boot kbuild: restore arch/{ppc/xtensa}/boot cflags 2007-10-20 20:35:23 +02:00
configs [POWERPC] Remove xmon from ml300 and ml403 defconfig in arch/ppc 2007-12-03 10:08:53 +11:00
kernel [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
lib
mm [POWERPC] Fix 8xx build breakage due to _tlbie changes 2007-11-20 18:42:00 +11:00
platforms [POWERPC] arch/ppc: Remove an unnecessary pci_dev_put 2007-12-20 17:13:50 +11:00
syslib [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
xmon [POWERPC] arch/ppc: Remove duplicate includes 2007-12-20 17:13:50 +11:00
.gitignore [POWERPC] Only ignore arch/ppc/include, not arch/ppc/boot/include 2007-08-17 11:01:51 +10:00
Kconfig Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
Kconfig.debug
Makefile kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP 2007-10-15 22:17:25 +02:00