From d591ae773032ea0571bb1488ded979a384baae77 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:08 +0100 Subject: device/if_ether.h: remove unused variable * 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(-) (limited to 'device') 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 @@ -51,11 +51,6 @@ void harderr(bp, cp) bp->b_blkno); } -/* - * Ethernet support routines. - */ -u_char etherbroadcastaddr[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - /* * Convert Ethernet address to printable (loggable) representation. */ -- cgit v1.2.3