staging: vchiq_arm: Avoid multiline dereference
Reduce the indentation within vchiq_dump_service_use_state in order to avoid a multiline derefernce. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
42a6bd8f77
commit
b322396ce8
|
@ -3276,12 +3276,12 @@ vchiq_dump_service_use_state(VCHIQ_STATE_T *state)
|
||||||
if (only_nonzero && !service_ptr->service_use_count)
|
if (only_nonzero && !service_ptr->service_use_count)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (service_ptr->srvstate != VCHIQ_SRVSTATE_FREE) {
|
if (service_ptr->srvstate == VCHIQ_SRVSTATE_FREE)
|
||||||
service_data[j].fourcc = service_ptr->base.fourcc;
|
continue;
|
||||||
service_data[j].clientid = service_ptr->client_id;
|
|
||||||
service_data[j++].use_count = service_ptr->
|
service_data[j].fourcc = service_ptr->base.fourcc;
|
||||||
service_use_count;
|
service_data[j].clientid = service_ptr->client_id;
|
||||||
}
|
service_data[j++].use_count = service_ptr->service_use_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
read_unlock_bh(&arm_state->susp_res_lock);
|
read_unlock_bh(&arm_state->susp_res_lock);
|
||||||
|
|
Loading…
Reference in New Issue