File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,6 @@ static const struct dev_pm_ops qcom_cci_pm = {
523
523
static int cci_probe (struct platform_device * pdev )
524
524
{
525
525
struct device * dev = & pdev -> dev ;
526
- unsigned long cci_clk_rate = 0 ;
527
526
struct device_node * child ;
528
527
struct resource * r ;
529
528
struct cci * cci ;
@@ -594,14 +593,6 @@ static int cci_probe(struct platform_device *pdev)
594
593
return dev_err_probe (dev , - EINVAL , "not enough clocks in DT\n" );
595
594
cci -> nclocks = ret ;
596
595
597
- /* Retrieve CCI clock rate */
598
- for (i = 0 ; i < cci -> nclocks ; i ++ ) {
599
- if (!strcmp (cci -> clocks [i ].id , "cci" )) {
600
- cci_clk_rate = clk_get_rate (cci -> clocks [i ].clk );
601
- break ;
602
- }
603
- }
604
-
605
596
ret = cci_enable_clocks (cci );
606
597
if (ret < 0 )
607
598
return ret ;
You can’t perform that action at this time.
0 commit comments