From fb71c8948bb25bb3262b1dab286a16d850083392 Mon Sep 17 00:00:00 2001 From: Robert Cunningham Date: Fri, 8 May 2020 00:07:23 -0400 Subject: [PATCH] Give ret a value to fix the build. Without this change, the build fails, because `ret` might have never been assigned a value when it gets returned. --- drivers/soc/qcom/ipc_router_hsic_xprt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/ipc_router_hsic_xprt.c b/drivers/soc/qcom/ipc_router_hsic_xprt.c index 1f9e91ab15f2..8539d7a3a691 100644 --- a/drivers/soc/qcom/ipc_router_hsic_xprt.c +++ b/drivers/soc/qcom/ipc_router_hsic_xprt.c @@ -668,7 +668,7 @@ static int parse_devicetree(struct device_node *node, static int msm_ipc_router_hsic_xprt_probe( struct platform_device *pdev) { - int ret; + int ret = 0; struct msm_ipc_router_hsic_xprt_config hsic_xprt_config; if (pdev && pdev->dev.of_node) {