mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
clk: Deduplicate exit code in clk_set_rate
On non-out case 'return ret;' is equivalent to 'return 0;' as the ret variable is initialized at 0 and never changed. Signed-off-by: Nestor Ovroy <[email protected]>
This commit is contained in:
parent
135a829744
commit
4cfe54e579
1 changed files with 0 additions and 3 deletions
|
|
@ -1093,9 +1093,6 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
|
|||
/* change the rates */
|
||||
clk_change_rate(top);
|
||||
|
||||
mutex_unlock(&prepare_lock);
|
||||
|
||||
return 0;
|
||||
out:
|
||||
mutex_unlock(&prepare_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue