Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Don't include atw_hw_decrypted, it is not used. K...



details:   https://anonhg.NetBSD.org/src/rev/09176efd7c24
branches:  trunk
changeset: 789971:09176efd7c24
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Sep 14 13:10:25 2013 +0000

description:
Don't include atw_hw_decrypted, it is not used. Keep it for
documentation purposes.

diffstat:

 sys/dev/ic/atw.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 0dc15559e511 -r 09176efd7c24 sys/dev/ic/atw.c
--- a/sys/dev/ic/atw.c  Sat Sep 14 13:09:55 2013 +0000
+++ b/sys/dev/ic/atw.c  Sat Sep 14 13:10:25 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atw.c,v 1.153 2011/04/02 08:11:32 mbalmer Exp $  */
+/*     $NetBSD: atw.c,v 1.154 2013/09/14 13:10:25 joerg Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.153 2011/04/02 08:11:32 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.154 2013/09/14 13:10:25 joerg Exp $");
 
 
 #include <sys/param.h>
@@ -3024,6 +3024,7 @@
        }
 }
 
+#if 0
 static inline int
 atw_hw_decrypted(struct atw_softc *sc, struct ieee80211_frame_min *wh)
 {
@@ -3033,6 +3034,7 @@
                return 0;
        return (sc->sc_wepctl & ATW_WEPCTL_WEPRXBYP) == 0;
 }
+#endif
 
 /*
  * atw_rxintr:



Home | Main Index | Thread Index | Old Index