]> www.infradead.org Git - users/dwmw2/qemu.git/commit
net: make nb_nics and nd_table[] static in net/net.c nic-config
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:38:01 +0000 (09:38 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 15:56:48 +0000 (15:56 +0000)
commit8c86c13655ecf1c00a7b59cdb63883507fbc6555
tree46215b4e058a2ac869c91c12da8392b0f80ca1bc
parentc0111559418b52e9a04c7f3233399b9d853db836
net: make nb_nics and nd_table[] static in net/net.c

Also remove the stale declaration of host_net_devices; the actual
definition was removed long ago in commit 7cc28cb06104 ("net: Remove
the deprecated 'host_net_add' and 'host_net_remove' HMP commands")

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
include/net/net.h
net/net.c
system/globals.c