diff options
-rw-r--r-- | fs/pstore/ram.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 1376e5a8f0d6..43abee2c6cb9 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c | |||
@@ -399,8 +399,6 @@ static int ramoops_probe(struct platform_device *pdev) | |||
399 | goto fail_out; | 399 | goto fail_out; |
400 | } | 400 | } |
401 | 401 | ||
402 | if (!is_power_of_2(pdata->mem_size)) | ||
403 | pdata->mem_size = rounddown_pow_of_two(pdata->mem_size); | ||
404 | if (!is_power_of_2(pdata->record_size)) | 402 | if (!is_power_of_2(pdata->record_size)) |
405 | pdata->record_size = rounddown_pow_of_two(pdata->record_size); | 403 | pdata->record_size = rounddown_pow_of_two(pdata->record_size); |
406 | if (!is_power_of_2(pdata->console_size)) | 404 | if (!is_power_of_2(pdata->console_size)) |