]> 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)
commit044e29d9ee338dd2a696b93dfb93a6bc728159cd
tree67b292a7500329f480a24b4959f7acee4129837b
parentf0de39dc8a7def338c4dba3b6d301094fb31618f
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