summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:08 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:51:28 +0900
commitd591ae773032ea0571bb1488ded979a384baae77 (patch)
treee63a48414328a169c77f4098a07c140fd55fd496 /device
parent5636bbf479dc4e8e2f50c40295b4e957aeff0809 (diff)
device/if_ether.h: remove unused variable
* device/if_ether.h (etherbroadcastaddr): Remove unused variable. * device/subrs.c (etherbroadcastaddr): Remove initialization.
Diffstat (limited to 'device')
-rw-r--r--device/if_ether.h2
-rw-r--r--device/subrs.c5
2 files changed, 0 insertions, 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 *