projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd4b6e
)
slirp: Remove unused zero_ethaddr[] variable
author
Peter Maydell
<peter.maydell@linaro.org>
Thu, 29 May 2014 10:59:26 +0000
(11:59 +0100)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Fri, 12 Jun 2015 10:25:48 +0000
(19:25 +0900)
The zero_ethaddr[] array is never used; delete it.
Change-Id: Ia78b5a2acee9d7660b5f74cb82b57b433ce803fb
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
slirp/slirp.c
patch
|
blob
|
history
diff --git
a/slirp/slirp.c
b/slirp/slirp.c
index bad8dad02e97e5350bf966dfa627ccd862d3edd2..4f50c2b647244077fd61fffac5f8bc5b59c90142 100644
(file)
--- 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 =