kdbus: Remove the unnecessary code that unlink the reply twice. 93/100393/1
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 24 Nov 2016 07:03:42 +0000 (16:03 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Mon, 28 Nov 2016 04:46:09 +0000 (20:46 -0800)
commit673c6533e3364856b77ece7002e791d02d083c61
tree394ccfedc762cbdf06590495e6f55e9413bbad13
parentd228dee53e858e5e924c8d4d4fd9c1394210e2be
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
(cherry picked from commit 81c82865a0f660cf3d552ca5879f674222e7060a)
ipc/kdbus/connection.c