[new uImage] Optimize gen_get_image() flow control
authorMarian Balakowicz <m8@semihalf.com>
Wed, 27 Feb 2008 10:00:47 +0000 (11:00 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Wed, 27 Feb 2008 10:00:47 +0000 (11:00 +0100)
commit6f0f9dfc4ee880fbf400a2ebe14238181a6c3f91
tree28cadde54eefd5038d6003370d2c32a5b4959312
parentd2ced9eb19ec74f4a359949dbe353427fa6d55ca
[new uImage] Optimize gen_get_image() flow control

When CONFIG_HAS_DATAFLASH is not defined gen_get_image() routine has nothing
to do, update its control flow to better reflect that simple case.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
common/image.c