]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: android: binder: Move the node release code to a separate function
authorMirsal Ennaime <mirsal@mirsal.fr>
Tue, 12 Mar 2013 10:41:59 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 17:52:48 +0000 (10:52 -0700)
commit008fa749e0fe5b2fffd20b7fe4891bb80d072c6a
tree67b292a7500329f480a24b4959f7acee4129837b
parentef994fda44d6b55ffef7bfdf06f645ff2ab1ab1a
drivers: android: binder: Move the node release code to a separate function

The binder_deferred_release() function has many levels of indentation
which makes it difficult to read. This patch moves the code which deals
with disposing of a binder node to a separate binder_node_release()
function, thus removing one level of indentation and allowing the code to
fit in 80 columns.

Signed-off-by: Mirsal Ennaime <mirsal@mirsal.fr>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c