bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 14/66] device/if_ether.h: remove unused variable


From: Marin Ramesa
Subject: [PATCH 14/66] device/if_ether.h: remove unused variable
Date: Thu, 5 Dec 2013 22:03:08 +0100

* device/if_ether.h (etherbroadcastaddr): Remove unused variable.
* device/subrs.c (etherbroadcastaddr): Remove initialization. 

---
 device/if_ether.h | 2 --
 device/subrs.c    | 5 -----
 2 files changed, 7 deletions(-)

diff --git a/device/if_ether.h b/device/if_ether.h
index dbdd818..e368fbf 100644
--- a/device/if_ether.h
+++ b/device/if_ether.h
@@ -46,8 +46,6 @@ struct        ether_header {
 };
 
 #ifdef KERNEL
-u_char etherbroadcastaddr[6];
-
 extern char *  ether_sprintf(u_char *);
 #endif /* KERNEL */
 
diff --git a/device/subrs.c b/device/subrs.c
index e094f68..0382bc6 100644
--- a/device/subrs.c
+++ b/device/subrs.c
@@ -52,11 +52,6 @@ void harderr(bp, cp)
 }
 
 /*
- * Ethernet support routines.
- */
-u_char etherbroadcastaddr[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
-
-/*
  * Convert Ethernet address to printable (loggable) representation.
  */
 char *
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]