Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Delete unused function



details:   https://anonhg.NetBSD.org/src/rev/91119d6a7613
branches:  trunk
changeset: 790606:91119d6a7613
user:      apb <apb%NetBSD.org@localhost>
date:      Fri Oct 18 08:09:37 2013 +0000

description:
Delete unused function
static inline void egprintstat(u_char);

diffstat:

 sys/dev/isa/if_eg.c |  19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diffs (47 lines):

diff -r 1b2a49e85550 -r 91119d6a7613 sys/dev/isa/if_eg.c
--- a/sys/dev/isa/if_eg.c       Fri Oct 18 08:06:06 2013 +0000
+++ b/sys/dev/isa/if_eg.c       Fri Oct 18 08:09:37 2013 +0000
@@ -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 <dean%fsa.ca@localhost>
@@ -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 @@
 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 @@
                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)
 {



Home | Main Index | Thread Index | Old Index