Consolidate strmhz() implementation
[platform/kernel/u-boot.git] / lib_arm / board.c
index a093860..6e3ef08 100644 (file)
@@ -115,19 +115,6 @@ void *sbrk (ptrdiff_t increment)
        return ((void *) old);
 }
 
-char *strmhz(char *buf, long hz)
-{
-       long l, n;
-       long m;
-
-       n = hz / 1000000L;
-       l = sprintf (buf, "%ld", n);
-       m = (hz % 1000000L) / 1000L;
-       if (m != 0)
-               sprintf (buf + l, ".%03ld", m);
-       return (buf);
-}
-
 
 /************************************************************************
  * Coloured LED functionality