]> git.sur5r.net Git - u-boot/blobdiff - arch/xtensa/lib/time.c
imx6: icorem6: Add I2C support
[u-boot] / arch / xtensa / lib / time.c
index 1332072ffe3d01f0761170f1a28e2aa3bdf83996..915eb5185b6c7e75578b42571d7212734c46c2a5 100644 (file)
@@ -104,10 +104,7 @@ unsigned long long get_ticks(void)
  */
 ulong get_tbclk(void)
 {
-       ulong tbclk;
-
-       tbclk = CONFIG_SYS_HZ;
-       return tbclk;
+       return CONFIG_SYS_HZ;
 }
 
 #if XCHAL_HAVE_CCOUNT