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:
parent
538c7b5b5d
commit
2ae66ecc08
@ -22,8 +22,6 @@ static int tegra210_emc_table_device_init(struct reserved_mem *rmem,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
||||
for (i = 0; i < TEGRA_EMC_MAX_FREQS; i++) {
|
||||
if (timings[i].revision == 0)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user