Module Name: src Committed By: alnsn Date: Sat Jul 26 21:07:45 UTC 2014
Modified Files: src/sys/external/bsd/sljit/sljit: sljit_mod.c Log Message: Don't destroy mutexes because the module can't be unload. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/sljit/sljit/sljit_mod.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/external/bsd/sljit/sljit/sljit_mod.c diff -u src/sys/external/bsd/sljit/sljit/sljit_mod.c:1.2 src/sys/external/bsd/sljit/sljit/sljit_mod.c:1.3 --- src/sys/external/bsd/sljit/sljit/sljit_mod.c:1.2 Tue Dec 17 22:39:23 2013 +++ src/sys/external/bsd/sljit/sljit/sljit_mod.c Sat Jul 26 21:07:45 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: sljit_mod.c,v 1.2 2013/12/17 22:39:23 alnsn Exp $ */ +/* $NetBSD: sljit_mod.c,v 1.3 2014/07/26 21:07:45 alnsn Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sljit_mod.c,v 1.2 2013/12/17 22:39:23 alnsn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sljit_mod.c,v 1.3 2014/07/26 21:07:45 alnsn Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -51,8 +51,6 @@ sljit_modcmd(modcmd_t cmd, void *arg) return 0; case MODULE_CMD_FINI: - mutex_destroy(&sljit_global_mutex); - mutex_destroy(&sljit_allocator_mutex); return EOPNOTSUPP; default: