Function omap5_init_time defines and sets the variable den but does not
make use of it. Remove this variable.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
void __iomem *ckgen_prm_base;
void __iomem *rt_ct_base;
unsigned int sys_clksel;
- unsigned int num, den, frac1, frac2;
+ unsigned int num, frac1, frac2;
ckgen_prm_base = ioremap_nocache(OMAP5_CKGEN_PRM_BASE, 0x20);
if ( !ckgen_prm_base )
}
frac2 = readl(rt_ct_base + INCREMENTER_DENUMERATOR_RELOAD_OFFSET);
- den = frac2 & ~NUMERATOR_DENUMERATOR_MASK;
if ( num_den[sys_clksel][1] != num )
{
frac2 &= NUMERATOR_DENUMERATOR_MASK;