]> www.infradead.org Git - users/dwmw2/qemu.git/commit
net: make nb_nics and nd_table[] static in net/net.c
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:38:01 +0000 (09:38 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 26 Jan 2024 16:53:40 +0000 (16:53 +0000)
commitd152f6b286de09ccf15a2db4bb3684b38b9cb969
tree4cb05e7eef0dcda6e427e2680f198073ca37540c
parent6b7321107d75f09d85608c2d6072b8de72dd16bd
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