spl: remove redundant call to parse_image_header()
authortomas.melin@vaisala.com <tomas.melin@vaisala.com>
Wed, 16 Nov 2016 11:15:05 +0000 (13:15 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2016 20:10:31 +0000 (15:10 -0500)
commitf069ded611a4740b9be5dc433f667b136306c53f
treed7ed40042b8d08c7a24a40a7d5a8fd8cb7d9f115
parentf72250e7e7e6c31bc21dc177f1ffe1dc8cc88e3f
spl: remove redundant call to parse_image_header()

Image header was checked twice.

Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_ymodem.c