We already reached the end of function at this point, so remove useless goto.
Signed-off-by: Sergei Zviagintsev <[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 4dea83defc8e..a1c3442f8e53 100644 --- a/ipc/kdbus/names.c +++ b/ipc/kdbus/names.c @@ -412,8 +412,6 @@ int kdbus_name_acquire(struct kdbus_name_registry *reg, ret = kdbus_name_become_activator(owner, return_flags); else ret = kdbus_name_update(owner, flags, return_flags); - if (ret < 0) - goto exit; exit: if (owner && !kdbus_name_owner_is_used(owner)) -- 1.8.3.1 -- 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/

