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

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

mtd: atmel_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>
Acked-by: default avatarJosh Wu <josh.wu@atmel.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 8f91fb68
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1961,10 +1961,8 @@ static int atmel_nand_probe(struct platform_device *pdev)

	/* Allocate memory for the device structure (and zero it) */
	host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL);
	if (!host) {
		printk(KERN_ERR "atmel_nand: failed to allocate device structure.\n");
	if (!host)
		return -ENOMEM;
	}

	res = platform_driver_register(&atmel_nand_nfc_driver);
	if (res)