Source-Changes-HG archive

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

[src/pgoyette-localcount]: src/sys/kern Remove a stray call to mutex_exit() t...



details:   https://anonhg.NetBSD.org/src/rev/9f135a1e5f4e
branches:  pgoyette-localcount
changeset: 852828:9f135a1e5f4e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jul 21 06:22:31 2016 +0000

description:
Remove a stray call to mutex_exit() that is left over from a previous
incarnation of this code.

diffstat:

 sys/kern/subr_devsw.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 77fe83cfdca6 -r 9f135a1e5f4e sys/kern/subr_devsw.c
--- a/sys/kern/subr_devsw.c     Thu Jul 21 00:02:13 2016 +0000
+++ b/sys/kern/subr_devsw.c     Thu Jul 21 06:22:31 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_devsw.c,v 1.34.2.8 2016/07/20 07:07:04 pgoyette Exp $     */
+/*     $NetBSD: subr_devsw.c,v 1.34.2.9 2016/07/21 06:22:31 pgoyette Exp $     */
 
 /*-
  * Copyright (c) 2001, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.34.2.8 2016/07/20 07:07:04 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.34.2.9 2016/07/21 06:22:31 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_dtrace.h"
@@ -543,7 +543,6 @@
                localcount_acquire(cdevsw[cmajor]->d_localcount);
 
 out:   pserialize_read_exit(s);
-       mutex_exit(&device_lock);
 
        return cdev;
 }



Home | Main Index | Thread Index | Old Index