OSDN Git Service

slirp: Remove unused zero_ethaddr[] variable
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 29 May 2014 10:59:26 +0000 (11:59 +0100)
committerMichael 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

index 6028036..35f819a 100644 (file)
@@ -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 =