Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe remove unnnecessary splbio() in rf_FreeDis...
details: https://anonhg.NetBSD.org/src/rev/e5d7344f068c
branches: trunk
changeset: 934801:e5d7344f068c
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Jun 19 19:32:03 2020 +0000
description:
remove unnnecessary splbio() in rf_FreeDiskQueueData()
diffstat:
sys/dev/raidframe/rf_diskqueue.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 21d5531e890a -r e5d7344f068c sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c Fri Jun 19 19:29:39 2020 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c Fri Jun 19 19:32:03 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_diskqueue.c,v 1.57 2020/06/19 19:29:39 jdolecek Exp $ */
+/* $NetBSD: rf_diskqueue.c,v 1.58 2020/06/19 19:32:03 jdolecek Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -66,7 +66,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.57 2020/06/19 19:29:39 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.58 2020/06/19 19:32:03 jdolecek Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -405,9 +405,6 @@
void
rf_FreeDiskQueueData(RF_DiskQueueData_t *p)
{
- int s;
- s = splbio(); /* XXX protect only pool_put, or neither? */
putiobuf(p->bp);
pool_put(&rf_pools.dqd, p);
- splx(s);
}
Home |
Main Index |
Thread Index |
Old Index