From: Ezequiel Garcia Date: Tue, 12 Feb 2013 19:22:18 +0000 (-0300) Subject: ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function X-Git-Tag: v3.10-rc1~102^2~19^2^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b095098ac5d28e865d179588d364a0cf8b0f81f;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function This function is not used anywhere, so it's safe to remove it. This means less code to maintain. Signed-off-by: Ezequiel Garcia Reviewed-by: Jon Hunter Signed-off-by: Jon Hunter --- diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 0837621..27dd2c8 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -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();