On Mon, Oct 08, 2012 at 07:45:54AM -0000, Stephen Warren wrote:

> From: Stephen Warren <swar...@nvidia.com>
> 
> When no valid partitions are found, guarantee that we return -1. This
> most likely already happens, since the most recent get_partition_info()
> will have returned an error. However, it's best to be explicit.
> 
> Remove an unnecessary assignment of ret=0 in the success case; this value
> is over-written with the processed partition ID later.
> 
> Signed-off-by: Stephen Warren <swar...@nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to