From 6998b685f2591b4ad63578578d84b7c5d9e6a651 Mon Sep 17 00:00:00 2001 From: Dhoat Harpal Date: Thu, 10 Nov 2016 19:27:58 +0530 Subject: [PATCH] soc: qcom: glink: Fix incorrect call to deinit function In function glink_core_register_transport, deinit function for qos configuration is called before initializing qos configuration. Call to glink_core_deinit_xprt_qos_cfg function is removed. CRs-Fixed: 1088375 Change-Id: Ifffab071efed56541e763e4f6f51aa45d7a6678b Signed-off-by: Dhoat Harpal --- drivers/soc/qcom/glink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/qcom/glink.c b/drivers/soc/qcom/glink.c index 9cfca014c8ad..382245eb90b6 100644 --- a/drivers/soc/qcom/glink.c +++ b/drivers/soc/qcom/glink.c @@ -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; }