summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2021-07-21 23:10:12 +0000
committeroster <oster@NetBSD.org>2021-07-21 23:10:12 +0000
commit188a2451ed801819cdad6df8b00c55232b744f57 (patch)
treec6f4036fa7e8ea928077871bff3f804c0f901975 /sys/dev/raidframe
parent79159704049a858577917f4e873b4ae4f89721ed (diff)
Remove commented line that is a duplicate of a real line.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_shutdown.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_shutdown.c b/sys/dev/raidframe/rf_shutdown.c
index 1b4747e12ed..acc96df8834 100644
--- a/sys/dev/raidframe/rf_shutdown.c
+++ b/sys/dev/raidframe/rf_shutdown.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_shutdown.c,v 1.20 2008/12/17 20:51:34 cegger Exp $ */
+/* $NetBSD: rf_shutdown.c,v 1.21 2021/07/21 23:10:12 oster Exp $ */
/*
* rf_shutdown.c
*/
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_shutdown.c,v 1.20 2008/12/17 20:51:34 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_shutdown.c,v 1.21 2021/07/21 23:10:12 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -71,8 +71,6 @@ _rf_ShutdownCreate(RF_ShutdownList_t **listp, void (*cleanup)(void *arg),
* Have to directly allocate memory here, since we start up before
* and shutdown after RAIDframe internal allocation system.
*/
- /* ent = (RF_ShutdownList_t *) malloc(sizeof(RF_ShutdownList_t),
- M_RAIDFRAME, M_WAITOK); */
ent = (RF_ShutdownList_t *) malloc(sizeof(RF_ShutdownList_t),
M_RAIDFRAME, M_WAITOK);
ent->cleanup = cleanup;