OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a802aa
)
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
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000
(19:39 +0400)
The zero_ethaddr[] array is never used; delete it.
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
6028036
..
35f819a
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 =