Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ata dumb instruction



details:   https://anonhg.NetBSD.org/src/rev/b294eedf2c65
branches:  trunk
changeset: 824991:b294eedf2c65
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jun 25 12:29:32 2017 +0000

description:
dumb instruction

diffstat:

 sys/dev/ata/ata_raid_subr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 851c652438e5 -r b294eedf2c65 sys/dev/ata/ata_raid_subr.c
--- a/sys/dev/ata/ata_raid_subr.c       Sun Jun 25 12:27:13 2017 +0000
+++ b/sys/dev/ata/ata_raid_subr.c       Sun Jun 25 12:29:32 2017 +0000
@@ -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 @@
                        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);



Home | Main Index | Thread Index | Old Index