diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-04 18:04:29 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-05 00:24:59 (GMT) |
commit | 941b0304a74b240c607ff098401fd4ef70c9d1cc (patch) | |
tree | 92cb88d1851360c5e890b7daf737b264cf3181de /lib/ioremap.c | |
parent | c728b9c87b59fb943c4cba0552d38152787a4ab6 (diff) | |
download | linux-fsl-qoriq-941b0304a74b240c607ff098401fd4ef70c9d1cc.tar.xz |
ipc: simplify rcu_read_lock() in semctl_nolock()
This trivially combines two rcu_read_lock() calls in both sides of a
if-statement into one single one in front of the if-statement.
Split out as an independent cleanup from the previous commit.
Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions