aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipc/util.c4
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)
439 int lid = ipcid_to_idx(ipcp->id); 439 int lid = ipcid_to_idx(ipcp->id);
440 440
441 idr_remove(&ids->ipcs_idr, lid); 441 idr_remove(&ids->ipcs_idr, lid);
442
443 ids->in_use--; 442 ids->in_use--;
444
445 ipcp->deleted = true; 443 ipcp->deleted = true;
446
447 return;
448} 444}
449 445
450/** 446/**