[PATCH 4/4] ipc: simplify ipc initialization

2018-06-21 Thread Davidlohr Bueso
Now that we know that rhashtable_init() will not fail, we can get rid of a lot of the unnecessary cleanup paths when the call errored out. Signed-off-by: Davidlohr Bueso --- ipc/msg.c | 9 - ipc/namespace.c | 20 ipc/sem.c | 10 -- ipc/shm.c

[PATCH 4/4] ipc: simplify ipc initialization

2018-06-21 Thread Davidlohr Bueso
Now that we know that rhashtable_init() will not fail, we can get rid of a lot of the unnecessary cleanup paths when the call errored out. Signed-off-by: Davidlohr Bueso --- ipc/msg.c | 9 - ipc/namespace.c | 20 ipc/sem.c | 10 -- ipc/shm.c