projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipc: drop ipc_lock_by_ptr
[cascardo/linux.git]
/
ipc
/
util.h
diff --git
a/ipc/util.h
b/ipc/util.h
index
0a362ff
..
14b0a2a
100644
(file)
--- a/
ipc/util.h
+++ b/
ipc/util.h
@@
-171,12
+171,6
@@
static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm)
assert_spin_locked(&perm->lock);
}
-static inline void ipc_lock_by_ptr(struct kern_ipc_perm *perm)
-{
- rcu_read_lock();
- ipc_lock_object(perm);
-}
-
static inline void ipc_unlock(struct kern_ipc_perm *perm)
{
ipc_unlock_object(perm);