diff options
author | Eduardo Habkost | 2016-05-12 16:17:16 +0200 |
---|---|---|
committer | Jason Wang | 2016-06-01 03:25:29 +0200 |
commit | d30300f771bffc3964e86472e0c21607521a2e24 (patch) | |
tree | e4dd0964a5358fa55dfebf762562e910acd58434 /include | |
parent | net: mipsnet: check packet length against buffer (diff) | |
download | qemu-d30300f771bffc3964e86472e0c21607521a2e24.tar.gz qemu-d30300f771bffc3964e86472e0c21607521a2e24.tar.xz qemu-d30300f771bffc3964e86472e0c21607521a2e24.zip |
net: vl: Move default_net to vl.c
All handling of defaults (default_* variables) is inside vl.c,
move default_net there too, so we can more easily refactor that
code later.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/net.h b/include/net/net.h index 73e4c466e2..059a464212 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -178,7 +178,6 @@ struct NICInfo { extern int nb_nics; extern NICInfo nd_table[MAX_NICS]; -extern int default_net; extern const char *host_net_devices[]; /* from net.c */ |