Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xenbus Avoid variable reassignement; reported b...
details: https://anonhg.NetBSD.org/src/rev/073e0aedd45e
branches: trunk
changeset: 352347:073e0aedd45e
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Mar 27 18:39:55 2017 +0000
description:
Avoid variable reassignement; reported by dcb314%hotmail.com@localhost in
PR port-xen/52112
diffstat:
sys/arch/xen/xenbus/xenbus_dev.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 32ea73a822b7 -r 073e0aedd45e sys/arch/xen/xenbus/xenbus_dev.c
--- a/sys/arch/xen/xenbus/xenbus_dev.c Mon Mar 27 14:26:20 2017 +0000
+++ b/sys/arch/xen/xenbus/xenbus_dev.c Mon Mar 27 18:39:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_dev.c,v 1.13 2017/03/23 14:52:36 bouyer Exp $ */
+/* $NetBSD: xenbus_dev.c,v 1.14 2017/03/27 18:39:55 bouyer Exp $ */
/*
* xenbus_dev.c
*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_dev.c,v 1.13 2017/03/23 14:52:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_dev.c,v 1.14 2017/03/27 18:39:55 bouyer Exp $");
#include "opt_xen.h"
@@ -392,7 +392,7 @@
} */ *ap = v;
struct kernfs_node *kfs = VTOKERN(ap->a_vp);
- struct xenbus_dev_data *u = kfs->kfs_v;
+ struct xenbus_dev_data *u;
struct xenbus_dev_lwp *xlwp;
struct xenbus_dev_transaction *trans;
Home |
Main Index |
Thread Index |
Old Index