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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7b095098ac5d28e865d179588d364a0cf8b0f81f;p=linux-beck.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 0837621788ab..27dd2c823efd 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();