diff mbox

[PULL,06/25] slirp: Remove unused zero_ethaddr[] variable

Message ID 1402416523-13212-7-git-send-email-mjt@msgid.tls.msk.ru
State Accepted
Commit 49bba868df17aebf7525a5c8f21c451abe3dcdc8
Headers show

Commit Message

Michael Tokarev June 10, 2014, 4:08 p.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>

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 |    2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/slirp/slirp.c b/slirp/slirp.c
index 6028036..35f819a 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 =