From c39ecd73990d0c9f8fa501a078c398a87a3621a8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 22 Oct 2004 03:38:05 +0000 Subject: 2004-10-21 Ralf Corsepius * network/GT64260eth.c: Remove ether_sprintf. --- c/src/lib/libbsp/powerpc/mvme5500/ChangeLog | 4 ++++ .../lib/libbsp/powerpc/mvme5500/network/GT64260eth.c | 19 ------------------- 2 files changed, 4 insertions(+), 19 deletions(-) (limited to 'c') diff --git a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog index e5a3a9e223..c4f0b96f37 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog @@ -1,3 +1,7 @@ +2004-10-21 Ralf Corsepius + + * network/GT64260eth.c: Remove ether_sprintf. + 2004-10-21 Joel Sherrill * startup/bspstart.c: Remove warnings for variables only used when diff --git a/c/src/lib/libbsp/powerpc/mvme5500/network/GT64260eth.c b/c/src/lib/libbsp/powerpc/mvme5500/network/GT64260eth.c index 530fa65fab..017055fc13 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/network/GT64260eth.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/network/GT64260eth.c @@ -156,25 +156,6 @@ static void GTeth_hash_init(struct GTeth_softc *sc); static struct GTeth_softc *root_GT64260eth_dev = NULL; static int GTeth_MissedFrame_err=0; -/* - * Convert Ethernet address to printable (loggable) representation. - */ -static const char digits[] = "0123456789abcdef"; -char * ether_sprintf(unsigned char *ap) -{ - int i; - static char etherbuf[18]; - char *cp = etherbuf; - - for (i = 0; i < 6; i++) { - *cp++ = digits[*ap >> 4]; - *cp++ = digits[*ap++ & 0xf]; - *cp++ = ':'; - } - *--cp = 0; - return (etherbuf); -} - /* We can hard code the address here if config->hardware_address failed */ static int GTethGet_macaddr(int macno, char *hwaddr) { -- cgit v1.2.3