Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[sfrench/cifs-2.6.git] / drivers / clk / bcm / clk-kona-setup.c
index e5aededdd3221cf34313228767eb72e755215b72..deaa7f962b84ac814eb2445d698d343d45018aec 100644 (file)
@@ -21,8 +21,6 @@
 #define selector_clear_exists(sel)     ((sel)->width = 0)
 #define trigger_clear_exists(trig)     FLAG_CLEAR(trig, TRIG, EXISTS)
 
-LIST_HEAD(ccu_list);   /* The list of set up CCUs */
-
 /* Validity checking */
 
 static bool ccu_data_offsets_valid(struct ccu_data *ccu)
@@ -773,7 +771,6 @@ static void kona_ccu_teardown(struct ccu_data *ccu)
 
        of_clk_del_provider(ccu->node); /* safe if never added */
        ccu_clks_teardown(ccu);
-       list_del(&ccu->links);
        of_node_put(ccu->node);
        ccu->node = NULL;
        iounmap(ccu->base);
@@ -847,7 +844,6 @@ void __init kona_dt_ccu_setup(struct ccu_data *ccu,
                goto out_err;
        }
        ccu->node = of_node_get(node);
-       list_add_tail(&ccu->links, &ccu_list);
 
        /*
         * Set up each defined kona clock and save the result in