kdbus: allowing sending replies even if NO_EXPECT_REPLY is set
authorLukasz Skalski <l.skalski@samsung.com>
Wed, 20 Jul 2016 16:21:25 +0000 (18:21 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:22 +0000 (13:52 +0900)
Change-Id: I34427f381957dd8d366e9e4d837d5a2a34a39cc1

ipc/kdbus/connection.c

index 02a6872..8e994ea 100644 (file)
@@ -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);