Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Fix whitespace.



details:   https://anonhg.NetBSD.org/src/rev/a3089fb46086
branches:  trunk
changeset: 1012485:a3089fb46086
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Aug 01 02:15:49 2020 +0000

description:
Fix whitespace.

diffstat:

 sys/dev/cgd.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 577a9c57428b -r a3089fb46086 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Sat Aug 01 02:15:17 2020 +0000
+++ b/sys/dev/cgd.c     Sat Aug 01 02:15:49 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.138 2020/08/01 02:15:17 riastradh Exp $ */
+/* $NetBSD: cgd.c,v 1.139 2020/08/01 02:15:49 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.138 2020/08/01 02:15:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.139 2020/08/01 02:15:49 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -684,9 +684,8 @@
        cw->cw_wq = wq;
        pool_init(cw->cw_cpool, sizeof(struct cgd_xfer), 0,
            0, 0, "cgdcpl", NULL, IPL_BIO);
+       mutex_init(&cw->cw_lock, MUTEX_DEFAULT, IPL_BIO);
 
-       mutex_init(&cw->cw_lock, MUTEX_DEFAULT, IPL_BIO);
-       
        return cw;
 }
 



Home | Main Index | Thread Index | Old Index