diff options
| author | Dhoat Harpal <hdhoat@codeaurora.org> | 2016-04-19 15:52:10 +0530 |
|---|---|---|
| committer | Dhoat Harpal <hdhoat@codeaurora.org> | 2016-09-23 18:29:06 +0530 |
| commit | 3cc9716866dbd575cda75dd96bef72efdc752d9c (patch) | |
| tree | 8eaf11d0dbc756093b1b95d7b8f5d386a3b2bfcc | |
| parent | 9e2d528dc47d04e98c5e6f1c4ef84fc268115d36 (diff) | |
soc: qcom: glink: Fix uninitialzed return value.
Initialize the return value in the glink tx scheduler
function.
CRs-Fixed: 1067981
Change-Id: I3f78196927501f582c36d5815096581185d797b4
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/glink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/glink.c b/drivers/soc/qcom/glink.c index 5612075ba60c..b7fa71dd0695 100644 --- a/drivers/soc/qcom/glink.c +++ b/drivers/soc/qcom/glink.c @@ -2712,7 +2712,7 @@ int glink_close(void *handle) { struct glink_core_xprt_ctx *xprt_ctx = NULL; struct channel_ctx *ctx = (struct channel_ctx *)handle; - int ret; + int ret = 0; unsigned long flags; bool is_empty = false; |
