summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-omap3evm.c
diff options
context:
space:
mode:
authorRuss Dill <Russ.Dill@ti.com>2012-03-23 09:21:35 (GMT)
committerTony Lindgren <tony@atomide.com>2012-04-03 17:29:58 (GMT)
commita297068c1fa529c350e7923b85372ca3b38dcdc5 (patch)
treebd6028e61317b49451f0b4c4a8d3f3152bac3815 /arch/arm/mach-omap2/board-omap3evm.c
parenta0dbf2a726e5387251a567c8531d9fd3e34d2dfb (diff)
downloadlinux-fsl-qoriq-a297068c1fa529c350e7923b85372ca3b38dcdc5.tar.xz
ARM: OMAP2+: smsc911x: Remove unused rate calculation
Looking back into git history, this code was never used and was probably left over from a copy/paste. Signed-off-by: Russ Dill <russ.dill@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3evm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index 4c90f07..b90b319 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -114,15 +114,6 @@ static struct omap_smsc911x_platform_data smsc911x_cfg = {
static inline void __init omap3evm_init_smsc911x(void)
{
- struct clk *l3ck;
- unsigned int rate;
-
- l3ck = clk_get(NULL, "l3_ck");
- if (IS_ERR(l3ck))
- rate = 100000000;
- else
- rate = clk_get_rate(l3ck);
-
/* Configure ethernet controller reset gpio */
if (cpu_is_omap3430()) {
if (get_omap3_evm_rev() == OMAP3EVM_BOARD_GEN_1)