Added negative check for get_image_size()
This patch adds check for negative return value from get_image_size(), where it is missing. It avoids unnecessary two function calls. Signed-off-by:Zhou Jie <zhoujie2011@cn.fujitsu.com> Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
Please register or sign in to comment