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

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

mtd: au1550nd: 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 fc59a51e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -418,10 +418,8 @@ static int au1550nd_probe(struct platform_device *pdev)
	}

	ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
	if (!ctx) {
		dev_err(&pdev->dev, "no memory for NAND context\n");
	if (!ctx)
		return -ENOMEM;
	}

	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	if (!r) {