Re: [PATCH 03/13] android: binder: refactor binder_thread_write

2015-05-29 Thread Dan Carpenter
This patch is ok. Reviewed-by: Dan Carpenter On Thu, May 28, 2015 at 04:08:21PM -0700, Riley Andrews wrote: > +static void binder_call_inc_dec_ref(struct binder_thread *thread, > + uint32_t target, uint32_t cmd) > +{ > + struct binder_proc *proc = thread->proc

[PATCH 03/13] android: binder: refactor binder_thread_write

2015-05-28 Thread Riley Andrews
Give every case in the switch statement its own dedicated function. Remove the process argument to binder_transact, as it can be derived from the thread argument as with all of the other newly created functions. Signed-off-by: Riley Andrews --- drivers/android/binder.c | 613