diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2014-01-27 17:07:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-27 21:02:40 -0800 |
commit | 95d4eb2822d5d67fb14197d90d3e4d4146671cfb (patch) | |
tree | 5fd76fa75d3af39e90bfa3bdda5a91731888e0b9 /ipc/util.c | |
parent | 3ab08fe20475658bab65118d599d03cd8ca44dd1 (diff) | |
download | linux-riscv-95d4eb2822d5d67fb14197d90d3e4d4146671cfb.tar.gz linux-riscv-95d4eb2822d5d67fb14197d90d3e4d4146671cfb.tar.bz2 linux-riscv-95d4eb2822d5d67fb14197d90d3e4d4146671cfb.zip |
ipc: remove useless return statement
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>
Diffstat (limited to 'ipc/util.c')
-rw-r--r-- | ipc/util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ipc/util.c b/ipc/util.c index cfbd8fafb19b..7afe7def52cf 100644 --- 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; } /** |