diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-02-09 05:50:23 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-08 23:57:46 +0100 |
commit | 4eb0799ff93b54dd40c0c5bb06f60f1eb015635b (patch) | |
tree | ccb04be812713d497dc2b5356f43e1b4fb3334ac /drivers/pci | |
parent | powerpc/mm: Move hash64 tlbflush code into a new header (diff) | |
download | linux-4eb0799ff93b54dd40c0c5bb06f60f1eb015635b.tar.xz linux-4eb0799ff93b54dd40c0c5bb06f60f1eb015635b.zip |
powerpc/eeh: Reworked eeh_pe_bus_get()
The original implementation is ugly: unnecessary if statements and
"out" tag. This reworks the function to avoid above weaknesses. No
functional changes introduced.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions