commit | af54faadff4db26d357fceea101a131306020a64 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@quicinc.com> | Tue Aug 22 20:03:30 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Aug 22 20:03:29 2017 -0700 |
tree | f568374e0a6967eb70ebcda0d39f4471f7793b2d | |
parent | d4b13dd60fbdd1a0ae087a220d9aa8e82b13dbd3 [diff] | |
parent | 5058f3c24feca0d7224f3a6548e12bf98764eb2b [diff] |
Merge "ANDROID: ion: Fix uninitialized variable"
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 2f5bfa3..9f47fb3 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c
@@ -470,7 +470,7 @@ /* Must hold the client lock */ static int user_ion_handle_put_nolock(struct ion_handle *handle) { - int ret; + int ret = 0; if (--handle->user_ref_count == 0) ret = ion_handle_put_nolock(handle);