Skip to content

Commit

Permalink
tap_int.h: remove repeating NETWORK_SCRIPT defines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gongleiarei authored and Michael Tokarev committed Nov 2, 2014
1 parent 25cec2b commit b391567
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/tap_int.h
Expand Up @@ -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);

Expand Down

0 comments on commit b391567

Please sign in to comment.