We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c8e11 commit 5474e98Copy full SHA for 5474e98
drivers/thermal/qoriq_thermal.c
@@ -208,8 +208,6 @@ static int qoriq_tmu_calibration(struct device *dev,
208
209
static void qoriq_tmu_init_device(struct qoriq_tmu_data *data)
210
{
211
- int i;
212
-
213
/* Disable interrupt, using polling instead */
214
regmap_write(data->regmap, REGS_TIER, TIER_DISABLE);
215
@@ -220,8 +218,6 @@ static void qoriq_tmu_init_device(struct qoriq_tmu_data *data)
220
218
} else {
221
219
regmap_write(data->regmap, REGS_V2_TMTMIR, TMTMIR_DEFAULT);
222
regmap_write(data->regmap, REGS_V2_TEUMR(0), TEUMR0_V2);
223
- for (i = 0; i < SITES_MAX; i++)
224
- regmap_write(data->regmap, REGS_V2_TMSAR(i), TMSARA_V2);
225
}
226
227
/* Disable monitoring */
0 commit comments