Signed-off-by: Marc-Antoine Perennou <[email protected]>
---
 ipc/kdbus/names.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ipc/kdbus/names.c b/ipc/kdbus/names.c
index 5f5d84e..d77ee08 100644
--- a/ipc/kdbus/names.c
+++ b/ipc/kdbus/names.c
@@ -514,8 +514,6 @@ int kdbus_cmd_name_acquire(struct kdbus_conn *conn, void 
__user *argp)
 
        ret = kdbus_name_acquire(conn->ep->bus->name_registry, conn, item_name,
                                 cmd->flags, &cmd->return_flags);
-       if (ret < 0)
-               goto exit_dec;
 
 exit_dec:
        atomic_dec(&conn->name_count);
-- 
2.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to