diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-11-12 13:36:09 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-14 17:24:24 +1100 |
commit | 4773f76b61e5cbf41ad514978d9338d8a7ed49e1 (patch) | |
tree | 71971485b82eae36d14aadbe5b2bca47ae076d31 /net/switchdev/switchdev.c | |
parent | b131a8425c34b41ab280edc211fb026451d43264 (diff) |
powerpc/powernv: Simplify pnv_ioda_configure_pe()
Nested if statements are always bad and the patch avoids one by
checking PHB type and bail in advance if necessary.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions