net: cleanup init_dummy_netdev_core()
authorJakub Kicinski <kuba@kernel.org>
Mon, 13 Jan 2025 00:34:56 +0000 (16:34 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Jan 2025 03:06:51 +0000 (19:06 -0800)
commit37adf101f6f72be4a658ec019912dce67c81660e
treebeca298afb6e0bc54c5415a3224d4ed9383e4655
parentf835bdae716751fa20451508150e5fdd5f5b2be3
net: cleanup init_dummy_netdev_core()

init_dummy_netdev_core() used to cater to net_devices which
did not come from alloc_netdev_mqs(). Since that's no longer
supported remove the init logic which duplicates alloc_netdev_mqs().

While at it rename back to init_dummy_netdev().

Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250113003456.3904110-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c