diff options
| author | Chris Lew <clew@codeaurora.org> | 2016-09-15 18:10:14 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-22 16:54:38 -0700 |
| commit | 1941719e787e209338a431ff580464596cdf5913 (patch) | |
| tree | f5efd535afb935aedfdbe48c45f517ebca98fdf9 | |
| parent | 341918f5d60bf2c46bb5a43cb8c97cffa6bc4a93 (diff) | |
soc: qcom: glink: Fix uninitialzed return value
Initialize the return value in the glink tx scheduler
function.
CRs-Fixed: 1067981
Change-Id: I7cad7a724666f34bce73d40e4975373604fb1e87
Signed-off-by: Chris Lew <clew@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..26ee6efb81db 100644 --- a/drivers/soc/qcom/glink.c +++ b/drivers/soc/qcom/glink.c @@ -5380,7 +5380,7 @@ static int glink_scheduler_tx(struct channel_ctx *ctx, size_t txd_len = 0; size_t tx_len = 0; uint32_t num_pkts = 0; - int ret; + int ret = 0; spin_lock_irqsave(&ctx->tx_lists_lock_lhc3, flags); while (txd_len < xprt_ctx->mtu && |
