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:
parent
2218b8fc90
commit
0210737c85
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue