Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic It's only necessary to set do_encrypt in one plac...



details:   https://anonhg.NetBSD.org/src/rev/4fa35e421479
branches:  trunk
changeset: 567090:4fa35e421479
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon May 31 11:28:48 2004 +0000

description:
It's only necessary to set do_encrypt in one place, so do that.

diffstat:

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

diffs (26 lines):

diff -r e9a021097aec -r 4fa35e421479 sys/dev/ic/atw.c
--- a/sys/dev/ic/atw.c  Mon May 31 11:28:03 2004 +0000
+++ b/sys/dev/ic/atw.c  Mon May 31 11:28:48 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atw.c,v 1.29 2004/05/31 11:28:03 dyoung Exp $  */
+/*     $NetBSD: atw.c,v 1.30 2004/05/31 11:28:48 dyoung Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.29 2004/05/31 11:28:03 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.30 2004/05/31 11:28:48 dyoung Exp $");
 
 #include "bpfilter.h"
 
@@ -3373,7 +3373,6 @@
        while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL &&
               sc->sc_txfree != 0) {
 
-               do_encrypt = 0;
                /*
                 * Grab a packet off the management queue, if it
                 * is not empty. Otherwise, from the data queue.



Home | Main Index | Thread Index | Old Index