|
@@ -399,8 +399,6 @@ static int ramoops_probe(struct platform_device *pdev)
|
|
goto fail_out;
|
|
goto fail_out;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!is_power_of_2(pdata->mem_size))
|
|
|
|
- pdata->mem_size = rounddown_pow_of_two(pdata->mem_size);
|
|
|
|
if (!is_power_of_2(pdata->record_size))
|
|
if (!is_power_of_2(pdata->record_size))
|
|
pdata->record_size = rounddown_pow_of_two(pdata->record_size);
|
|
pdata->record_size = rounddown_pow_of_two(pdata->record_size);
|
|
if (!is_power_of_2(pdata->console_size))
|
|
if (!is_power_of_2(pdata->console_size))
|