Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 12:21:02 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/linux: linux_idr.c

Log Message:
linux/idr: Remove meaningless stray membar.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/external/bsd/drm2/linux/linux_idr.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/external/bsd/drm2/linux/linux_idr.c
diff -u src/sys/external/bsd/drm2/linux/linux_idr.c:1.14 src/sys/external/bsd/drm2/linux/linux_idr.c:1.15
--- src/sys/external/bsd/drm2/linux/linux_idr.c:1.14	Sun Dec 19 01:15:21 2021
+++ src/sys/external/bsd/drm2/linux/linux_idr.c	Sun Dec 19 12:21:02 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_idr.c,v 1.14 2021/12/19 01:15:21 riastradh Exp $	*/
+/*	$NetBSD: linux_idr.c,v 1.15 2021/12/19 12:21:02 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_idr.c,v 1.14 2021/12/19 01:15:21 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_idr.c,v 1.15 2021/12/19 12:21:02 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -423,7 +423,6 @@ idr_for_each(struct idr *idr, int (*proc
 	int error = 0;
 
 	/* XXX Caller must exclude modifications.  */
-	membar_consumer();
 	RB_TREE_FOREACH(node, &idr->idr_tree) {
 		error = (*proc)(node->in_index, node->in_data, arg);
 		if (error)

Reply via email to