[PATCH] arm: stm32mp: cleanup test on eth_env_set_enetaddr result

Marek Vasut marex at denx.de
Tue Apr 7 16:09:53 CEST 2020


On 4/7/20 4:07 PM, Patrick Delaunay wrote:
> Remove the unnecessary inversion on the eth_env_set_enetaddr() result which
> only make complex the code of setup_mac_address() and display an invalid
> value in the associated pr_err.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list