[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <68cc22399be3f5fa44197bcdfe38faa85c716061.1444302968.git.sergei@s15v.net>
Date: Thu, 8 Oct 2015 14:31:45 +0300
From: Sergei Zviagintsev <sergei@...v.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Daniel Mack <daniel@...que.org>,
David Herrmann <dh.herrmann@...glemail.com>,
Djalal Harouni <tixxdz@...ndz.org>
Cc: linux-kernel@...r.kernel.org, Sergei Zviagintsev <sergei@...v.net>
Subject: [PATCH 16/44] kdbus: Drop redundant code from kdbus_name_acquire()
We already reached the end of function at this point, so remove useless
goto.
Signed-off-by: Sergei Zviagintsev <sergei@...v.net>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists