diff options
author | Johanna Abrahamsson <johanna@mjao.org> | 2016-08-24 00:02:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-01 17:36:33 +0200 |
commit | 0210737c85860756efa7d936156e8a94412f5d5c (patch) | |
tree | b3772c26c5c574cbe7c288e4ce8aac769c154a1e /drivers | |
parent | 2218b8fc90a9f6c57de3b1bde6c6c6c30eee07c6 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/android/ion/ion.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 88dd17e8b19a..bbf13beddb7b 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -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) { |