Merge "ANDROID: ion: Fix uninitialized variable"

This commit is contained in:
Linux Build Service Account 2017-04-21 00:37:33 -07:00 committed by Gerrit - the friendly Code Review server
commit ee129a0667

View file

@ -470,7 +470,7 @@ static struct ion_handle *pass_to_user(struct ion_handle *handle)
/* 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);