kdbus: Remove the unnecessary code that unlink the reply twice.
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 24 Nov 2016 07:03:42 +0000 (16:03 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:53:41 +0000 (13:53 +0900)
commit323cc4064a8ef9ce86a97b27fc184813b4d351ec
tree52161d877a56e6ada7a656df421888c96c43f4dc
parentcb56c8470863ed34b1f9303f0e00159701a445b6
kdbus: Remove the unnecessary code that unlink the reply twice.

In sync call situation, kdbus_conn_reply() calls kdbus_reply_unlink(reply).
Then, kdbus_conn_entry_sync_attach() also calls kdbus_reply_unlink(reply_wake),
so it is called twice. Even it has no problems because kdbus_reply_unlink()
does't free twice, but it is unnecessary.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia2b3552ee2e6a49ff97bb9d8f6e62964fe6d2cbf
ipc/kdbus/connection.c