The ret variable is not needed since is not used in the
function. Remove the variable and just return 0 instead.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
 
 int arizona_clk32k_disable(struct arizona *arizona)
 {
-       int ret = 0;
-
        mutex_lock(&arizona->clk_lock);
 
        BUG_ON(arizona->clk32k_ref <= 0);
 
        mutex_unlock(&arizona->clk_lock);
 
-       return ret;
+       return 0;
 }
 EXPORT_SYMBOL_GPL(arizona_clk32k_disable);