diff options
author | Richard Cochran <richardcochran@gmail.com> | 2012-12-23 22:19:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-26 23:15:09 +0100 |
commit | cbc44dbe1fc5df0959bf075405dcef07989fed37 (patch) | |
tree | b56613a3b5eb22ad90961c53c7cc5ba9addff6c3 /drivers/net/ethernet/ti/cpts.c | |
parent | batman-adv: fix random jitter calculation (diff) | |
download | linux-cbc44dbe1fc5df0959bf075405dcef07989fed37.tar.xz linux-cbc44dbe1fc5df0959bf075405dcef07989fed37.zip |
cpts: fix build error by removing useless code.
The cpts driver tries to obtain the input clock frequency by calling the
clock's internal 'recalc' method. Since <plat/clock.h> has been removed,
this code can no longer compile.
However, the driver never makes use of the frequency value, so this patch
fixes the issue by removing the offending code altogether.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpts.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpts.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index 5e62c1aeeffb..5ab8fb4037fa 100644 --- a/drivers/net/ethernet/ti/cpts.c +++ b/drivers/net/ethernet/ti/cpts.c @@ -248,7 +248,6 @@ static void cpts_clk_init(struct cpts *cpts) return; } clk_enable(cpts->refclk); - cpts->freq = cpts->refclk->recalc(cpts->refclk); } static void cpts_clk_release(struct cpts *cpts) |