From: Jingoo Han Date: Thu, 26 Dec 2013 03:04:18 +0000 (+0900) Subject: mtd: bf5xx_nand: Remove unnecessary OOM messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aad075318333e09640bceec3db4e282ac440c625;p=openwrt%2Fstaging%2Fblogic.git mtd: bf5xx_nand: 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 Acked-by: Mike Frysinger Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 2c42e125720f..94f55dbde995 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c @@ -745,7 +745,6 @@ static int bf5xx_nand_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 out_err_kzalloc; }