mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mtd: s3c2410: Remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
parent
61a623fe0d
commit
ad74581007
1 changed files with 0 additions and 2 deletions
|
|
@ -919,7 +919,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
|
|||
|
||||
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
|
||||
if (info == NULL) {
|
||||
dev_err(&pdev->dev, "no memory for flash info\n");
|
||||
err = -ENOMEM;
|
||||
goto exit_error;
|
||||
}
|
||||
|
|
@ -974,7 +973,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
|
|||
size = nr_sets * sizeof(*info->mtds);
|
||||
info->mtds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL);
|
||||
if (info->mtds == NULL) {
|
||||
dev_err(&pdev->dev, "failed to allocate mtd storage\n");
|
||||
err = -ENOMEM;
|
||||
goto exit_error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue