From: Jingoo Han Date: Thu, 6 Feb 2014 06:12:15 +0000 (+0900) Subject: mtd: plat-ram: Remove unnecessary OOM messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e61e4f40b1f3a34fa370f7fda1bff6d66032516d;p=openwrt%2Fstaging%2Fblogic.git mtd: plat-ram: 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 Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index 76ace85ccdc6..d597e89f2692 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c @@ -137,7 +137,6 @@ static int platram_probe(struct platform_device *pdev) info = kzalloc(sizeof(*info), GFP_KERNEL); if (info == NULL) { - dev_err(&pdev->dev, "no memory for flash info\n"); err = -ENOMEM; goto exit_error; }