On Fri, Jul 27, 2018 at 5:16 PM, Philipp Tomsich
<[email protected]> wrote:
> gd->ram_top is assigned to twice on consecutive lines and the compiler
> won't be able to tell that the first assignment is dead (including its
> r-value) due to the r-value containing a (side-effect free) function
> call.
>
> This drops the first assignment.
>
> Signed-off-by: Philipp Tomsich <[email protected]>
> ---
>
>  common/board_f.c | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Bin Meng <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to