mtd: bf5xx_nand: Remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Thu, 26 Dec 2013 03:04:18 +0000 (12:04 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:29 +0000 (11:22 -0800)
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/bf5xx_nand.c

index 2c42e125720f2141258e064e1fc024fef092057b..94f55dbde995974213b48158048a92553bfc7475 100644 (file)
@@ -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;
        }