Skip to content

Commit

Permalink
ipc: remove useless return statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Davidlohr Bueso authored and torvalds committed Jan 28, 2014
1 parent 3ab08fe commit 95d4eb2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ipc/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 95d4eb2

Please sign in to comment.