kdbus: allowing sending replies even if NO_EXPECT_REPLY is set accepted/tizen/common/20160810.161706 accepted/tizen/ivi/20160810.082329 accepted/tizen/mobile/20160810.082223 accepted/tizen/tv/20160810.082251 accepted/tizen/wearable/20160810.082314 submit/tizen/20160810.050017
authorLukasz Skalski <l.skalski@samsung.com>
Wed, 20 Jul 2016 16:21:25 +0000 (18:21 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 9 Aug 2016 07:35:16 +0000 (16:35 +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);