Module Name: src Committed By: joerg Date: Sat Sep 14 13:10:25 UTC 2013
Modified Files: src/sys/dev/ic: atw.c Log Message: Don't include atw_hw_decrypted, it is not used. Keep it for documentation purposes. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/dev/ic/atw.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/ic/atw.c diff -u src/sys/dev/ic/atw.c:1.153 src/sys/dev/ic/atw.c:1.154 --- src/sys/dev/ic/atw.c:1.153 Sat Apr 2 08:11:32 2011 +++ src/sys/dev/ic/atw.c Sat Sep 14 13:10:25 2013 @@ -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 @@ atw_linkintr(struct atw_softc *sc, u_int } } +#if 0 static inline int atw_hw_decrypted(struct atw_softc *sc, struct ieee80211_frame_min *wh) { @@ -3033,6 +3034,7 @@ atw_hw_decrypted(struct atw_softc *sc, s return 0; return (sc->sc_wepctl & ATW_WEPCTL_WEPRXBYP) == 0; } +#endif /* * atw_rxintr: