Commit c00cb1b7 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: pmc551: 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 bb339dec
...@@ -725,16 +725,11 @@ static int __init init_pmc551(void) ...@@ -725,16 +725,11 @@ static int __init init_pmc551(void)
} }
mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL);
if (!mtd) { if (!mtd)
printk(KERN_NOTICE "pmc551: Cannot allocate new MTD "
"device.\n");
break; break;
}
priv = kzalloc(sizeof(struct mypriv), GFP_KERNEL); priv = kzalloc(sizeof(struct mypriv), GFP_KERNEL);
if (!priv) { if (!priv) {
printk(KERN_NOTICE "pmc551: Cannot allocate new MTD "
"device.\n");
kfree(mtd); kfree(mtd);
break; break;
} }
......
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