diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-02-12 16:22:18 -0300 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2013-04-01 14:53:36 -0500 |
commit | 7b095098ac5d28e865d179588d364a0cf8b0f81f (patch) | |
tree | 44feb12700c01d274eb0f23d684e3c75bb3b974c /arch/arm/mach-omap2 | |
parent | 3fc089e7c5ff914b2660a6e91a8d032498c1e301 (diff) | |
download | op-kernel-dev-7b095098ac5d28e865d179588d364a0cf8b0f81f.zip op-kernel-dev-7b095098ac5d28e865d179588d364a0cf8b0f81f.tar.gz |
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 <ezequiel.garcia@free-electrons.com>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 7 |
1 files changed, 0 insertions, 7 deletions
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(); |