staging: android: ion: Do not BUG on handle client mismatch

The ion_free_nolock() function should not BUG on a handle client mismatch.

Signed-off-by: Johanna Abrahamsson <johanna@mjao.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Johanna Abrahamsson 2016-08-24 00:02:27 +02:00 committed by Greg Kroah-Hartman
parent 2218b8fc90
commit 0210737c85
1 changed files with 0 additions and 2 deletions

View File

@ -550,8 +550,6 @@ static void ion_free_nolock(struct ion_client *client,
{
bool valid_handle;
BUG_ON(client != handle->client);
valid_handle = ion_handle_validate(client, handle);
if (!valid_handle) {