summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2023-02-25 00:34:36 +0000
committerriastradh <riastradh@NetBSD.org>2023-02-25 00:34:36 +0000
commitf2f092a8254f78bdbba59b4f4bb4423f4946c42e (patch)
tree46ed05f624ddf0ef20601ab7f2a35e47250b5584 /sys
parent21c45accd3249b1ce2b51d353de7c1732b9cbd32 (diff)
xennetback(4): Omit needless membars in xennetback_connect.
xneti is a private data structure to which we have exclusive access here; ordering the stores doesn't make sense.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/xen/xen/xennetback_xenbus.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/xen/xen/xennetback_xenbus.c b/sys/arch/xen/xen/xennetback_xenbus.c
index cd21a70d44b..d8b7d1d3d02 100644
--- a/sys/arch/xen/xen/xennetback_xenbus.c
+++ b/sys/arch/xen/xen/xennetback_xenbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: xennetback_xenbus.c,v 1.110 2023/02/25 00:34:25 riastradh Exp $ */
+/* $NetBSD: xennetback_xenbus.c,v 1.111 2023/02/25 00:34:36 riastradh Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.110 2023/02/25 00:34:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.111 2023/02/25 00:34:36 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -497,9 +497,7 @@ xennetback_connect(struct xnetback_instance *xneti)
goto err2;
}
xneti->xni_evtchn = evop.u.bind_interdomain.local_port;
- xen_wmb();
xneti->xni_status = CONNECTED;
- xen_wmb();
xneti->xni_ih = xen_intr_establish_xname(-1, &xen_pic,
xneti->xni_evtchn, IST_LEVEL, IPL_NET, xennetback_evthandler,