Module Name: src Committed By: riastradh Date: Sat Aug 1 02:15:49 UTC 2020
Modified Files: src/sys/dev: cgd.c Log Message: Fix whitespace. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/dev/cgd.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/dev/cgd.c diff -u src/sys/dev/cgd.c:1.138 src/sys/dev/cgd.c:1.139 --- src/sys/dev/cgd.c:1.138 Sat Aug 1 02:15:17 2020 +++ src/sys/dev/cgd.c Sat Aug 1 02:15:49 2020 @@ -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 @@ cgd_create_worker(void) 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); - + return cw; }