Module Name: src
Committed By: apb
Date: Fri Oct 18 08:09:37 UTC 2013
Modified Files:
src/sys/dev/isa: if_eg.c
Log Message:
Delete unused function
static inline void egprintstat(u_char);
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/isa/if_eg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/isa/if_eg.c
diff -u src/sys/dev/isa/if_eg.c:1.85 src/sys/dev/isa/if_eg.c:1.86
--- src/sys/dev/isa/if_eg.c:1.85 Sat Oct 27 17:18:24 2012
+++ src/sys/dev/isa/if_eg.c Fri Oct 18 08:09:37 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: if_eg.c,v 1.85 2012/10/27 17:18:24 chs Exp $ */
+/* $NetBSD: if_eg.c,v 1.86 2013/10/18 08:09:37 apb Exp $ */
/*
* Copyright (c) 1993 Dean Huxley <[email protected]>
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.85 2012/10/27 17:18:24 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.86 2013/10/18 08:09:37 apb Exp $");
#include "opt_inet.h"
@@ -131,7 +131,6 @@ struct mbuf *egget(struct eg_softc *, vo
void egstop(struct eg_softc *);
static inline void egprintpcb(u_int8_t *);
-static inline void egprintstat(u_char);
static int egoutPCB(bus_space_tag_t, bus_space_handle_t, u_int8_t);
static int egreadPCBstat(bus_space_tag_t, bus_space_handle_t, u_int8_t);
static int egreadPCBready(bus_space_tag_t, bus_space_handle_t);
@@ -151,20 +150,6 @@ egprintpcb(u_int8_t *pcb)
DPRINTF(("pcb[%2d] = %x\n", i, pcb[i]));
}
-
-static inline void
-egprintstat(u_char b)
-{
- DPRINTF(("%s %s %s %s %s %s %s\n",
- (b & EG_STAT_HCRE)?"HCRE":"",
- (b & EG_STAT_ACRF)?"ACRF":"",
- (b & EG_STAT_DIR )?"DIR ":"",
- (b & EG_STAT_DONE)?"DONE":"",
- (b & EG_STAT_ASF3)?"ASF3":"",
- (b & EG_STAT_ASF2)?"ASF2":"",
- (b & EG_STAT_ASF1)?"ASF1":""));
-}
-
static int
egoutPCB(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t b)
{