disk: part_efi: remove indent level from loop
authorStephen Warren <swarren@nvidia.com>
Mon, 8 Oct 2012 08:14:32 +0000 (08:14 +0000)
committerTom Rini <trini@ti.com>
Wed, 17 Oct 2012 14:59:10 +0000 (07:59 -0700)
commit38a3021edc5421a2fae90d57112d001d74bba1fa
treed8954eccc59d5f347119760dbc1e79b2fd454556
parent71bba424adcfa8c44100dee0fd139cc057eace65
disk: part_efi: remove indent level from loop

Simplify the partition printing loop in print_part_efi() to bail out
early when the first invalid partition is found, rather than indenting
the whole body of the loop. This simplifies later patches.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
disk/part_efi.c