[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
- [PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, (continued)
- [PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, Marin Ramesa, 2013/12/05
- [PATCH 07/66] ddb/db_output.c: remove duplicate function, Marin Ramesa, 2013/12/05
- [PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), Marin Ramesa, 2013/12/05
- [PATCH 08/66] ddb/db_output.h: add comment, Marin Ramesa, 2013/12/05
- [PATCH 09/66] device/blkio.c: remove function, Marin Ramesa, 2013/12/05
- [PATCH 10/66] device/chario.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 11/66] device/cirbuf.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 12/66] device/cons.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 14/66] device/if_ether.h: remove unused variable,
Marin Ramesa <=
- [PATCH 13/66] device/dev_lookup.c: remove unused lock, Marin Ramesa, 2013/12/05
- [PATCH 15/66] device/if_ether.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 16/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 17/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 18/66] device/tty.h, chario.h: move prototype, Marin Ramesa, 2013/12/05
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05