diff options
author | Stephen Boyd <sboyd@kernel.org> | 2020-03-09 15:12:31 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-24 19:35:00 -0700 |
commit | 2cf7a4cbcb4e108aae666dc6a81cedf69e1cba37 (patch) | |
tree | 27f8842c753cf4ac29f833ccb315150938768457 /net/tipc/socket.c | |
parent | 8411aa5059edd584f7022f1dc300aa2f8f89fd06 (diff) |
clk: qcom: rpmh: Simplify clk_rpmh_bcm_send_cmd()
This function has some duplication in unlocking a mutex and returns in a
few different places. Let's use some if statements to consolidate code
and make this a bit easier to read.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
CC: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200309221232.145630-2-sboyd@kernel.org
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions