mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
net: Make net_client_init() static
The function is only used within net.c, so there's no need that
this is a global function.
While we're at it, also remove the unused prototype compute_mcast_idx()
(the function has been removed in commit d9caeb09b1
).
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
253dc14cad
commit
aa09a485c2
2 changed files with 1 additions and 3 deletions
|
@ -1119,7 +1119,7 @@ static void show_netdevs(void)
|
|||
}
|
||||
}
|
||||
|
||||
int net_client_init(QemuOpts *opts, bool is_netdev, Error **errp)
|
||||
static int net_client_init(QemuOpts *opts, bool is_netdev, Error **errp)
|
||||
{
|
||||
void *object = NULL;
|
||||
Error *err = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue