@@ -1856,9 +1856,6 @@ void dev_pm_opp_put_supported_hw(struct opp_table *opp_table)
1856
1856
if (unlikely (!opp_table ))
1857
1857
return ;
1858
1858
1859
- /* Make sure there are no concurrent readers while updating opp_table */
1860
- WARN_ON (!list_empty (& opp_table -> opp_list ));
1861
-
1862
1859
kfree (opp_table -> supported_hw );
1863
1860
opp_table -> supported_hw = NULL ;
1864
1861
opp_table -> supported_hw_count = 0 ;
@@ -1944,9 +1941,6 @@ void dev_pm_opp_put_prop_name(struct opp_table *opp_table)
1944
1941
if (unlikely (!opp_table ))
1945
1942
return ;
1946
1943
1947
- /* Make sure there are no concurrent readers while updating opp_table */
1948
- WARN_ON (!list_empty (& opp_table -> opp_list ));
1949
-
1950
1944
kfree (opp_table -> prop_name );
1951
1945
opp_table -> prop_name = NULL ;
1952
1946
@@ -2056,9 +2050,6 @@ void dev_pm_opp_put_regulators(struct opp_table *opp_table)
2056
2050
if (!opp_table -> regulators )
2057
2051
goto put_opp_table ;
2058
2052
2059
- /* Make sure there are no concurrent readers while updating opp_table */
2060
- WARN_ON (!list_empty (& opp_table -> opp_list ));
2061
-
2062
2053
if (opp_table -> enabled ) {
2063
2054
for (i = opp_table -> regulator_count - 1 ; i >= 0 ; i -- )
2064
2055
regulator_disable (opp_table -> regulators [i ]);
@@ -2178,9 +2169,6 @@ void dev_pm_opp_put_clkname(struct opp_table *opp_table)
2178
2169
if (unlikely (!opp_table ))
2179
2170
return ;
2180
2171
2181
- /* Make sure there are no concurrent readers while updating opp_table */
2182
- WARN_ON (!list_empty (& opp_table -> opp_list ));
2183
-
2184
2172
clk_put (opp_table -> clk );
2185
2173
opp_table -> clk = ERR_PTR (- EINVAL );
2186
2174
@@ -2279,9 +2267,6 @@ void dev_pm_opp_unregister_set_opp_helper(struct opp_table *opp_table)
2279
2267
if (unlikely (!opp_table ))
2280
2268
return ;
2281
2269
2282
- /* Make sure there are no concurrent readers while updating opp_table */
2283
- WARN_ON (!list_empty (& opp_table -> opp_list ));
2284
-
2285
2270
opp_table -> set_opp = NULL ;
2286
2271
2287
2272
mutex_lock (& opp_table -> lock );
0 commit comments