mtd: mpc5121_nfc: 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 <jg1.han@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
@ -653,10 +653,8 @@ static int mpc5121_nfc_probe(struct platform_device *op)
|
|||||||
}
|
}
|
||||||
|
|
||||||
prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL);
|
prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL);
|
||||||
if (!prv) {
|
if (!prv)
|
||||||
dev_err(dev, "Memory exhausted!\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
mtd = &prv->mtd;
|
mtd = &prv->mtd;
|
||||||
chip = &prv->chip;
|
chip = &prv->chip;
|
||||||
|
Reference in New Issue
Block a user