qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Gonglei <arei.gonglei@huawei.com>,
	Michael Tokarev <mjt@tls.msk.ru>
Subject: [Qemu-devel] [PULL 19/23] tap_int.h: remove repeating NETWORK_SCRIPT defines
Date: Sun,  2 Nov 2014 14:57:31 +0300	[thread overview]
Message-ID: <b391567b64c86d3c032b500eebb7c53d332fc5f2.1414929285.git.mjt@msgid.tls.msk.ru> (raw)
In-Reply-To: <cover.1414929284.git.mjt@msgid.tls.msk.ru>
In-Reply-To: <cover.1414929284.git.mjt@msgid.tls.msk.ru>

From: Gonglei <arei.gonglei@huawei.com>

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>
---
 net/tap_int.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/tap_int.h b/net/tap_int.h
index 86bb224..79afdf2 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);
 
-- 
1.7.10.4

  parent reply	other threads:[~2014-11-02 12:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 11:57 [Qemu-devel] [PULL 00/23] Trivial patches for 2014-11-02 Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 01/23] tests: Add missing include to test-bitops.c Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 02/23] bitops.h: Don't include qemu-common.h Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 03/23] bitmap.h: " Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 04/23] target-xtensa: mark XtensaConfig structs as unused Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 05/23] target-arm: A64: remove redundant store Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 06/23] sparse: fix build Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 07/23] util: Improve os_mem_prealloc error message Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 08/23] Revert "os-posix: report error message when lock file failed" Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 09/23] net/slirp: specify logbase for smbd Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 10/23] target-tricore: check return value before using it Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 11/23] virtio-9p-proxy: Fix sockfd leak Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 12/23] virtio-9p-proxy: fix error return in proxy_init() Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 13/23] virtio-9p-proxy: improve error messages in connect_namedsocket() Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 14/23] dump: Fix dump-guest-memory termination and use-after-close Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 15/23] os-posix: use global daemon_pipe instead of cryptic fds[1] Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 16/23] os-posix: replace goto again with a proper loop Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 17/23] pidfile: stop making pidfile error a special case Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 18/23] os-posix: reorder parent notification for -daemonize Michael Tokarev
2014-11-02 11:57 ` Michael Tokarev [this message]
2014-11-02 11:57 ` [Qemu-devel] [PULL 20/23] target-i386: Remove unused model_features_t struct Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 21/23] tap: do not close(fd) in net_init_tap_one Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 22/23] tap: fix possible fd leak in net_init_tap Michael Tokarev
2014-11-02 11:57 ` [Qemu-devel] [PULL 23/23] vdi: wrapped uuid_unparse() in #ifdef Michael Tokarev
2014-11-03 16:43 ` [Qemu-devel] [PULL 00/23] Trivial patches for 2014-11-02 Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b391567b64c86d3c032b500eebb7c53d332fc5f2.1414929285.git.mjt@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=arei.gonglei@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).