]> git.baikalelectronics.ru Git - uboot.git/commit
arm: stm32mp: cleanup test on eth_env_set_enetaddr result
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Apr 2020 14:07:46 +0000 (16:07 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 9 Sep 2020 12:19:12 +0000 (14:19 +0200)
commitda604a14d9033b7e989b34e04c4f40bc4c5a0147
tree31e178a4206c6e909908d44ab8f4119c494e2e9e
parent8fa1121334ad6e650e0eec499d078c815da219ee
arm: stm32mp: cleanup test on eth_env_set_enetaddr result

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@st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/mach-stm32mp/cpu.c