summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Skalski <l.skalski@samsung.com>2016-07-20 18:21:25 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-08-09 16:35:16 +0900
commitb69a86c13e9edea37fc765acf844732446fb7048 (patch)
tree52cb8025df1ff0f96ce4a02e90a592ca2d1aab32
parentf2aac2074d017971dbfb49a9bbc576e03e3eb07b (diff)
downloadlinux-exynos-b69a86c13e9edea37fc765acf844732446fb7048.tar.gz
linux-exynos-b69a86c13e9edea37fc765acf844732446fb7048.tar.bz2
linux-exynos-b69a86c13e9edea37fc765acf844732446fb7048.zip
Change-Id: I34427f381957dd8d366e9e4d837d5a2a34a39cc1
-rw-r--r--ipc/kdbus/connection.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ipc/kdbus/connection.c b/ipc/kdbus/connection.c
index 02a68724c2f2..8e994ea16e48 100644
--- a/ipc/kdbus/connection.c
+++ b/ipc/kdbus/connection.c
@@ -1129,11 +1129,6 @@ static int kdbus_conn_reply(struct kdbus_conn *src, struct kdbus_kmsg *kmsg)
}
mutex_unlock(&dst->lock);
- if (!reply) {
- ret = -EPERM;
- goto exit;
- }
-
/* attach metadata */
attach = kdbus_meta_calc_attach_flags(src, dst);