]> git.baikalelectronics.ru Git - 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)
commit94d6dd8f84a981db720a9c0cc1417f3c8e248fbe
tree67b292a7500329f480a24b4959f7acee4129837b
parent3460634d7c0a625cd775987483437edcb1671bd3
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