net: make nb_nics and nd_table[] static in net/net.c
commite8c5c4525cbbd7207c085732cfd1e67d8f3d662a
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:38:01 +0000 (23 09:38 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:48 +0000 (2 16:23 +0000)
tree0972de8341837ba78eefdb331ecda3c69124e0e7
parent481434f99e5293cadf0f056bef4afbbefd7b0bb3
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