Merge tag 'staging-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-3.10.git] / drivers / staging / omap-thermal / omap-bandgap.c
index 21fd91b..dcc1448 100644 (file)
@@ -568,8 +568,6 @@ int omap_bandgap_read_update_interval(struct omap_bandgap *bg_ptr, int id,
 
        tsr = bg_ptr->conf->sensors[id].registers;
        time = omap_bandgap_readl(bg_ptr, tsr->bgap_counter);
-       if (ret)
-               return ret;
        time = (time & tsr->counter_mask) >> __ffs(tsr->counter_mask);
        time = time * 1000 / bg_ptr->clk_rate;