Commit 9fd9e4cd authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: cafe_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>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent aad07531
...@@ -640,10 +640,8 @@ static int cafe_nand_probe(struct pci_dev *pdev, ...@@ -640,10 +640,8 @@ static int cafe_nand_probe(struct pci_dev *pdev,
pci_set_master(pdev); pci_set_master(pdev);
mtd = kzalloc(sizeof(*mtd) + sizeof(struct cafe_priv), GFP_KERNEL); mtd = kzalloc(sizeof(*mtd) + sizeof(struct cafe_priv), GFP_KERNEL);
if (!mtd) { if (!mtd)
dev_warn(&pdev->dev, "failed to alloc mtd_info\n");
return -ENOMEM; return -ENOMEM;
}
cafe = (void *)(&mtd[1]); cafe = (void *)(&mtd[1]);
mtd->dev.parent = &pdev->dev; mtd->dev.parent = &pdev->dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment