git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sparse: Remove support for thread-safety annotations.
[sliver-openvswitch.git]
/
lib
/
ovs-thread.h
diff --git
a/lib/ovs-thread.h
b/lib/ovs-thread.h
index
3547686
..
5d3964a
100644
(file)
--- a/
lib/ovs-thread.h
+++ b/
lib/ovs-thread.h
@@
-496,11
+496,6
@@
ovsthread_once_start(struct ovsthread_once *once)
return OVS_UNLIKELY(!ovsthread_once_is_done__(once)
&& !ovsthread_once_start__(once));
}
-
-#ifdef __CHECKER__
-#define ovsthread_once_start(ONCE) \
- ((ONCE)->done ? false : ({ OVS_MACRO_LOCK((&ONCE->mutex)); true; }))
-#endif
\f
/* Thread ID.
*