Merge "soc: qcom: glink: Fix incorrect call to deinit function"

This commit is contained in:
Linux Build Service Account 2016-11-14 21:53:55 -08:00 committed by Gerrit - the friendly Code Review server
commit 5ba98eaeb9

View file

@ -3948,7 +3948,6 @@ int glink_core_register_transport(struct glink_transport_if *if_ptr,
xprt_ptr->edge, xprt_ptr->name);
if (IS_ERR_OR_NULL(xprt_ptr->tx_task)) {
GLINK_ERR("%s: unable to run thread\n", __func__);
glink_core_deinit_xprt_qos_cfg(xprt_ptr);
kfree(xprt_ptr);
return -ENOMEM;
}