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

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

mtd: nand-gpio: 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 d9a21ae8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -211,10 +211,8 @@ static int gpio_nand_probe(struct platform_device *pdev)
		return -EINVAL;

	gpiomtd = devm_kzalloc(&pdev->dev, sizeof(*gpiomtd), GFP_KERNEL);
	if (!gpiomtd) {
		dev_err(&pdev->dev, "failed to create NAND MTD\n");
	if (!gpiomtd)
		return -ENOMEM;
	}

	chip = &gpiomtd->nand_chip;