File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -400,22 +400,6 @@ do { \
400
400
__tmp; \
401
401
})
402
402
403
- /**
404
- * rcu_swap_protected() - swap an RCU and a regular pointer
405
- * @rcu_ptr: RCU pointer
406
- * @ptr: regular pointer
407
- * @c: the conditions under which the dereference will take place
408
- *
409
- * Perform swap(@rcu_ptr, @ptr) where @rcu_ptr is an RCU-annotated pointer and
410
- * @c is the argument that is passed to the rcu_dereference_protected() call
411
- * used to read that pointer.
412
- */
413
- #define rcu_swap_protected (rcu_ptr , ptr , c ) do { \
414
- typeof(ptr) __tmp = rcu_dereference_protected((rcu_ptr), (c)); \
415
- rcu_assign_pointer((rcu_ptr), (ptr)); \
416
- (ptr) = __tmp; \
417
- } while (0)
418
-
419
403
/**
420
404
* rcu_access_pointer() - fetch RCU pointer with no dereferencing
421
405
* @p: The pointer to read
You can’t perform that action at this time.
0 commit comments