Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi '#if 0' a static inline function used only by...



details:   https://anonhg.NetBSD.org/src/rev/b43fbd335a4f
branches:  trunk
changeset: 817771:b43fbd335a4f
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed Sep 07 14:21:01 2016 +0000

description:
'#if 0' a static inline function used only by an already #if 0 function.

diffstat:

 sys/dev/scsipi/if_se.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 578d8d749e58 -r b43fbd335a4f sys/dev/scsipi/if_se.c
--- a/sys/dev/scsipi/if_se.c    Wed Sep 07 13:01:39 2016 +0000
+++ b/sys/dev/scsipi/if_se.c    Wed Sep 07 14:21:01 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_se.c,v 1.90 2016/06/10 13:27:15 ozaki-r Exp $       */
+/*     $NetBSD: if_se.c,v 1.91 2016/09/07 14:21:01 jakllsch Exp $      */
 
 /*
  * Copyright (c) 1997 Ian W. Dall <ian.dall%dsto.defence.gov.au@localhost>
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.90 2016/06/10 13:27:15 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.91 2016/09/07 14:21:01 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -203,7 +203,9 @@
 static int     se_ioctl(struct ifnet *, u_long, void *);
 static void    sewatchdog(struct ifnet *);
 
+#if 0
 static inline u_int16_t ether_cmp(void *, void *);
+#endif
 static void    se_recv(void *);
 static struct mbuf *se_get(struct se_softc *, char *, int);
 static int     se_read(struct se_softc *, char *, int);
@@ -267,6 +269,7 @@
         "Cabletrn",         "EA412",                 ""},
 };
 
+#if 0
 /*
  * Compare two Ether/802 addresses for equality, inlined and
  * unrolled for speed.
@@ -285,6 +288,7 @@
 }
 
 #define ETHER_CMP      ether_cmp
+#endif
 
 static int
 sematch(device_t parent, cfdata_t match, void *aux)



Home | Main Index | Thread Index | Old Index