summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-29 11:59:26 +0100
committerGiWoong Kim <giwoong.kim@samsung.com>2014-10-27 21:36:08 -0700
commit6ef82e52643fc9c858885a1076fa55d373525035 (patch)
tree60d3cb8097c7913ca7df7db7472746e980be35a6
parent7b7a72fb6df094d5e39837df3765523f37ac8465 (diff)
downloadqemu-6ef82e52643fc9c858885a1076fa55d373525035.tar.gz
qemu-6ef82e52643fc9c858885a1076fa55d373525035.tar.bz2
qemu-6ef82e52643fc9c858885a1076fa55d373525035.zip
slirp: Remove unused zero_ethaddr[] variable
The zero_ethaddr[] array is never used; delete it. Change-Id: I20b166d01b3203f4370ebe66db8c659a1f8ea9c0 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--slirp/slirp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c
index bad8dad02e..4f50c2b647 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -37,8 +37,6 @@ static const uint8_t special_ethaddr[ETH_ALEN] = {
0x52, 0x55, 0x00, 0x00, 0x00, 0x00
};
-static const uint8_t zero_ethaddr[ETH_ALEN] = { 0, 0, 0, 0, 0, 0 };
-
u_int curtime;
static QTAILQ_HEAD(slirp_instances, Slirp) slirp_instances =