Module Name: src
Committed By: maxv
Date: Sun Jun 25 12:29:32 UTC 2017
Modified Files:
src/sys/dev/ata: ata_raid_subr.c
Log Message:
dumb instruction
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ata/ata_raid_subr.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/ata/ata_raid_subr.c
diff -u src/sys/dev/ata/ata_raid_subr.c:1.2 src/sys/dev/ata/ata_raid_subr.c:1.3
--- src/sys/dev/ata/ata_raid_subr.c:1.2 Thu Jun 24 13:03:08 2010
+++ src/sys/dev/ata/ata_raid_subr.c Sun Jun 25 12:29:32 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ata_raid_subr.c,v 1.2 2010/06/24 13:03:08 hannken Exp $ */
+/* $NetBSD: ata_raid_subr.c,v 1.3 2017/06/25 12:29:32 maxv Exp $ */
/*-
* Copyright (c) 2008 Juan Romero Pardines.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_raid_subr.c,v 1.2 2010/06/24 13:03:08 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_raid_subr.c,v 1.3 2017/06/25 12:29:32 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -72,7 +72,6 @@ ata_raid_disk_vnode_find(struct ataraid_
return adv->adv_vnode;
}
- adv = NULL;
adv = kmem_zalloc(sizeof(struct ataraid_disk_vnode), KM_SLEEP);
bmajor = devsw_name2blk(device_xname(adi->adi_dev), NULL, 0);