Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00669231 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris
Browse files

mtd: davinci_nand: Remove unnecessary OOM messages



The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 844a72c5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -619,10 +619,8 @@ static int nand_davinci_probe(struct platform_device *pdev)
		return -ENODEV;

	info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
	if (!info) {
		dev_err(&pdev->dev, "unable to allocate memory\n");
	if (!info)
		return -ENOMEM;
	}

	platform_set_drvdata(pdev, info);