diff options
author | 2025-01-12 16:34:55 -0800 | |
---|---|---|
committer | 2025-01-13 19:06:51 -0800 | |
commit | f835bdae716751fa20451508150e5fdd5f5b2be3 (patch) | |
tree | 3b3cfd0daa11563b9a5c718ccd1d579ec5ebcb22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/net/ynl: ethtool: support spec load from install location (diff) | |
download | wireguard-linux-f835bdae716751fa20451508150e5fdd5f5b2be3.tar.xz wireguard-linux-f835bdae716751fa20451508150e5fdd5f5b2be3.zip |
net: remove init_dummy_netdev()
init_dummy_netdev() can initialize statically declared or embedded
net_devices. Such netdevs did not come from alloc_netdev_mqs().
After recent work by Breno, there are the only two cases where
we have do that.
Switch those cases to alloc_netdev_mqs() and delete init_dummy_netdev().
Dealing with static netdevs is not worth the maintenance burden.
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250113003456.3904110-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions