diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-10-31 10:53:30 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-11-02 10:04:34 +0300 |
commit | b391567b64c86d3c032b500eebb7c53d332fc5f2 (patch) | |
tree | 2f7f0930567bb954dd4d3ea4fb557eaf4d7063b9 /net/tap_int.h | |
parent | 25cec2b896a977565ca04e5c649aab8c6e48bda8 (diff) |
tap_int.h: remove repeating NETWORK_SCRIPT defines
DEFAULT_NETWORK_SCRIPT and DEFAULT_NETWORK_DOWN_SCRIPT
have been defined in net/net.h included in
tap.c, which is the only C file that using those two macro.
Let's remove the repeating macroinstruction.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'net/tap_int.h')
-rw-r--r-- | net/tap_int.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tap_int.h b/net/tap_int.h index 86bb224bc8..79afdf2d58 100644 --- a/net/tap_int.h +++ b/net/tap_int.h @@ -29,9 +29,6 @@ #include "qemu-common.h" #include "qapi-types.h" -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" - int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required, int mq_required); |