ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 12 Feb 2013 19:22:18 +0000 (16:22 -0300)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 19:53:36 +0000 (14:53 -0500)
This function is not used anywhere, so it's safe to remove it.
This means less code to maintain.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
arch/arm/mach-omap2/gpmc.c

index 0837621788abd5ae52f996e225c6801ee0b5a48f..27dd2c823efdb66e840ea5e0067db36dd257819a 100644 (file)
@@ -230,13 +230,6 @@ unsigned int gpmc_ticks_to_ns(unsigned int ticks)
        return ticks * gpmc_get_fclk_period() / 1000;
 }
 
-static unsigned int gpmc_round_ns_to_ticks(unsigned int time_ns)
-{
-       unsigned long ticks = gpmc_ns_to_ticks(time_ns);
-
-       return ticks * gpmc_get_fclk_period() / 1000;
-}
-
 static unsigned int gpmc_ticks_to_ps(unsigned int ticks)
 {
        return ticks * gpmc_get_fclk_period();