handle: remove useless statement
authorRui Miguel Silva <rmfrfs@gmail.com>
Wed, 14 Jan 2015 11:16:14 +0000 (11:16 +0000)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 14 Jan 2015 12:51:23 +0000 (13:51 +0100)
Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
handle.c

index 129c51b0b8ed1ce1d6c5e187e889bda0ae743250..92e73e26ac5f6cf825138b534d508fc09bd9407d 100644 (file)
--- a/handle.c
+++ b/handle.c
@@ -278,8 +278,6 @@ static int handle_ep_ioctl_hello(struct kdbus_handle_ep *handle,
                                       KDBUS_ITEMS_SIZE(hello, items),
                                       1, kdbus_conn_is_policy_holder(conn),
                                       conn);
-       else
-               ret = 0;
 
        kdbus_conn_release(conn);