]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: android: ion: Remove valid_handle variable in ion_free_nolock
authorJohanna Abrahamsson <johanna@mjao.org>
Tue, 23 Aug 2016 22:02:45 +0000 (00:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:36:33 +0000 (17:36 +0200)
commitc2bbedf01fe7a9901828911c7a2d8c27f48a5f16
tree42f1535a6125937d778f36f4cf1eb2bde52522bd
parent0210737c85860756efa7d936156e8a94412f5d5c
staging: android: ion: Remove valid_handle variable in ion_free_nolock

It is not neccessary to save the value of ion_handle_validate since it
is only used once.

Signed-off-by: Johanna Abrahamsson <johanna@mjao.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c