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>
This commit is contained in:
parent
3ab08fe204
commit
95d4eb2822
|
@ -439,12 +439,8 @@ void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
|
||||||
int lid = ipcid_to_idx(ipcp->id);
|
int lid = ipcid_to_idx(ipcp->id);
|
||||||
|
|
||||||
idr_remove(&ids->ipcs_idr, lid);
|
idr_remove(&ids->ipcs_idr, lid);
|
||||||
|
|
||||||
ids->in_use--;
|
ids->in_use--;
|
||||||
|
|
||||||
ipcp->deleted = true;
|
ipcp->deleted = true;
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue