]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: open-code ether_setup()
authorAlex Elder <elder@linaro.org>
Thu, 19 May 2022 15:12:14 +0000 (10:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2022 10:12:24 +0000 (11:12 +0100)
commit75944b040bbcce0fc1d1432787efe8a96b51b595
treead0f21f5272dfba0d55e3dddf81d3e5c2ee2c8ff
parent332ef7c814bdd60f08d0d9013d0e1104798b2d23
net: ipa: open-code ether_setup()

About half of the fields set by the call in ipa_modem_netdev_setup()
are overwritten after the call.  Instead, just skip the call, and
open-code the (other) assignments it makes to the net_device
structure fields.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_modem.c