mtd: fsl_elbc_nand: Remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Thu, 26 Dec 2013 03:08:24 +0000 (12:08 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:30 +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>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_elbc_nand.c

index c966fc7474ced5fc8423b9440340f1d9b5072bbc..d32f1d3b52f7fa3f44ac33dadb7d560b1c091682 100644 (file)
@@ -847,7 +847,6 @@ static int fsl_elbc_nand_probe(struct platform_device *pdev)
        if (!fsl_lbc_ctrl_dev->nand) {
                elbc_fcm_ctrl = kzalloc(sizeof(*elbc_fcm_ctrl), GFP_KERNEL);
                if (!elbc_fcm_ctrl) {
-                       dev_err(dev, "failed to allocate memory\n");
                        mutex_unlock(&fsl_elbc_nand_mutex);
                        ret = -ENOMEM;
                        goto err;