Merge "ANDROID: ion: Fix uninitialized variable"
This commit is contained in:
commit
ee129a0667
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue