From 95d4eb2822d5d67fb14197d90d3e4d4146671cfb Mon Sep 17 00:00:00 2001 From: Davidlohr Bueso Date: Mon, 27 Jan 2014 17:07:07 -0800 Subject: ipc: remove useless return statement Only found in ipc_rmid(). Signed-off-by: Davidlohr Bueso Cc: Aswin Chandramouleeswaran Cc: Rik van Riel Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- ipc/util.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ipc/util.c') diff --git a/ipc/util.c b/ipc/util.c index cfbd8fafb19..7afe7def52c 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; } /** -- cgit v1.2.3-70-g09d2