Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/linux linux/idr: Remove meaningless st...



details:   https://anonhg.NetBSD.org/src/rev/d16a00bef6a8
branches:  trunk
changeset: 1028867:d16a00bef6a8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:21:02 2021 +0000

description:
linux/idr: Remove meaningless stray membar.

diffstat:

 sys/external/bsd/drm2/linux/linux_idr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 286e43cee1b2 -r d16a00bef6a8 sys/external/bsd/drm2/linux/linux_idr.c
--- a/sys/external/bsd/drm2/linux/linux_idr.c   Sun Dec 19 12:20:53 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_idr.c   Sun Dec 19 12:21:02 2021 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index