projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab08fe
)
ipc: remove useless return statement
author
Davidlohr Bueso
<davidlohr@hp.com>
Tue, 28 Jan 2014 01:07:07 +0000
(17:07 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:40 +0000
(21:02 -0800)
Only found in ipc_rmid().
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Cc: Rik van Riel <riel@redhat.com>
Acked-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/util.c
patch
|
blob
|
blame
|
history
diff --git
a/ipc/util.c
b/ipc/util.c
index cfbd8fafb19b013ca07f5bb4c171cdad870988a3..7afe7def52cfff757989ec6fe8a47fb795d50607 100644
(file)
--- a/
ipc/util.c
+++ b/
ipc/util.c
@@
-439,12
+439,8
@@
void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
int lid = ipcid_to_idx(ipcp->id);
idr_remove(&ids->ipcs_idr, lid);
-
ids->in_use--;
-
ipcp->deleted = true;
-
- return;
}
/**