memory: tegra: remove redundant variable initialization
tegra210_emc_table_device_init() sets count = 0 twice, so remove the second instance. Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt> Link: https://lore.kernel.org/r/20230319171303.120777-1-diogo.ivo@tecnico.ulisboa.pt Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
committed by
Krzysztof Kozlowski
parent
538c7b5b5d
commit
2ae66ecc08
@@ -22,8 +22,6 @@ static int tegra210_emc_table_device_init(struct reserved_mem *rmem,
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
count = 0;
|
|
||||||
|
|
||||||
for (i = 0; i < TEGRA_EMC_MAX_FREQS; i++) {
|
for (i = 0; i < TEGRA_EMC_MAX_FREQS; i++) {
|
||||||
if (timings[i].revision == 0)
|
if (timings[i].revision == 0)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user