Module Name:    src
Committed By:   jakllsch
Date:           Wed Sep  7 14:21:01 UTC 2016

Modified Files:
        src/sys/dev/scsipi: if_se.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/scsipi/if_se.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/scsipi/if_se.c
diff -u src/sys/dev/scsipi/if_se.c:1.90 src/sys/dev/scsipi/if_se.c:1.91
--- src/sys/dev/scsipi/if_se.c:1.90	Fri Jun 10 13:27:15 2016
+++ src/sys/dev/scsipi/if_se.c	Wed Sep  7 14:21:01 2016
@@ -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.d...@dsto.defence.gov.au>
@@ -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 void	sedone(struct scsipi_xfer *,
 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 @@ const struct scsipi_inquiry_pattern se_p
 	 "Cabletrn",         "EA412",                 ""},
 };
 
+#if 0
 /*
  * Compare two Ether/802 addresses for equality, inlined and
  * unrolled for speed.
@@ -285,6 +288,7 @@ ether_cmp(void *one, void *two)
 }
 
 #define ETHER_CMP	ether_cmp
+#endif
 
 static int
 sematch(device_t parent, cfdata_t match, void *aux)

Reply via email to