]> git.karo-electronics.de Git - linux-beck.git/commit
staging: android: ion: Remove ret variable in ion_handle_put_nolock
authorJohanna Abrahamsson <johanna@mjao.org>
Tue, 23 Aug 2016 22:41:54 +0000 (00:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:39:29 +0000 (17:39 +0200)
commit450524614bd2fc05239dd6186eb6d0deec483c24
tree88cf2b6a5c76e6eb834b63e0a8aa65332cc55d4d
parent679011bd69efd7d9a3d4984fadbe0bc544773455
staging: android: ion: Remove ret variable in ion_handle_put_nolock

It is not necessary to save the return value of kref_put since it is directly
returned.

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