Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/ipf/netinet Destroying the mutex once is en...



details:   https://anonhg.NetBSD.org/src/rev/e4bca0676c33
branches:  trunk
changeset: 785742:e4bca0676c33
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 28 20:14:18 2013 +0000

description:
Destroying the mutex once is enough.

diffstat:

 sys/external/bsd/ipf/netinet/ip_log.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 37e8aedc9f1b -r e4bca0676c33 sys/external/bsd/ipf/netinet/ip_log.c
--- a/sys/external/bsd/ipf/netinet/ip_log.c     Thu Mar 28 18:51:28 2013 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_log.c     Thu Mar 28 20:14:18 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_log.c,v 1.5 2013/03/27 23:49:02 christos Exp $      */
+/*     $NetBSD: ip_log.c,v 1.6 2013/03/28 20:14:18 christos Exp $      */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -9,7 +9,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.5 2013/03/27 23:49:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.6 2013/03/28 20:14:18 christos Exp $");
 
 #include <sys/param.h>
 #if defined(KERNEL) || defined(_KERNEL)
@@ -352,7 +352,6 @@
 # if SOLARIS && defined(_KERNEL)
                cv_destroy(&softl->ipl_wait[i]);
 # endif
-               MUTEX_DESTROY(&softl->ipl_mutex[i]);
        }
 
        if (softl->ipf_log_tune != NULL) {



Home | Main Index | Thread Index | Old Index