From: Gonglei Date: Fri, 31 Oct 2014 02:53:30 +0000 (+0800) Subject: tap_int.h: remove repeating NETWORK_SCRIPT defines X-Git-Tag: qemu-xen-4.6.0-rc1~101^2~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b391567b64c86d3c032b500eebb7c53d332fc5f2;p=qemu-upstream-unstable.git 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 Signed-off-by: Michael Tokarev --- diff --git a/net/tap_int.h b/net/tap_int.h index 86bb224bc..79afdf2d5 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);