]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: lwip: simplify net_lwip_eth_start
authorTim Harvey <tharvey@gateworks.com>
Thu, 10 Jul 2025 15:15:56 +0000 (08:15 -0700)
committerJerome Forissier <jerome.forissier@linaro.org>
Fri, 1 Aug 2025 07:30:47 +0000 (09:30 +0200)
commitbd4de55951202089e627db7d520adb4ba33d47fd
treefc139444e9a209611704bff97c812bfc01ce17a1
parent9104267e676bfe254f742b56329e7c3442a2b144
net: lwip: simplify net_lwip_eth_start

For NET_LWIP eth_is_on_demand_init() is always 1 so remove the check and
simplify the code.

Suggested-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
net/lwip/net-lwip.c