Matthias Schiffer a77633d36d
x86: sysupgrade: refactor platform_do_upgrade
By returning early when no upgrade device can be found and handling the
SAVE_PARTITIONS=0 case differently, we can get rid of two levels of if.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-05-29 23:50:34 +02:00
..
2017-05-27 11:31:10 +02:00
2017-05-25 23:50:48 +02:00
2017-02-07 17:30:35 +01:00