Revert "MLK-24940 arm: imx: correctly check the return value of "of_get_mac_address""

This reverts commit 845620ec5d.
This commit is contained in:
Otavio Salvador 2021-08-13 09:15:31 -03:00
parent 4d7089e573
commit 7c14829d6f
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void __init imx6_enet_mac_init(const char *enet_compat, const char *ocotp_compat
from = enet_np;
if (!IS_ERR(of_get_mac_address(enet_np)))
if (of_get_mac_address(enet_np))
goto put_enet_node;
id = of_alias_get_id(enet_np, "ethernet");