diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-12 01:33:23 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-09 04:52:40 +0300 |
commit | 4e4bea7427062ec15df7084f97728e2a44d912e3 (patch) | |
tree | 8ac0858e9d8f945cca18d4fefaef8ae11b74aa46 /tools/testing | |
parent | d2b1654f91f9e928011fbea7138854ee2044f470 (diff) | |
download | linux-4e4bea7427062ec15df7084f97728e2a44d912e3.tar.xz |
rcu: Remove typecheck() from RCU locking wrapper functions
Because raw_spin_lock_irqsave() and raw_spin_unlock_irqrestore()
both do typecheck() on their flags argument, there is no point in
duplicating this check in raw_spin_lock_irqsave_rcu_node() and
raw_spin_unlock_irqrestore_rcu_node(). This commit therefore saves
a few lines by removing this duplicated check.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions