diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-06 01:11:09 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 01:42:24 -0400 |
commit | c00cb1b7748aa0e6d2efeb8f4486d788ae61765e (patch) | |
tree | f2088d45551266923ef63beb72903f3b9a2a5a0b | |
parent | bb339decb33684fcd9a88b62d2abe8bc95f68269 (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | drivers/mtd/devices/pmc551.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c index 0c51b988e1f8..f02603e1bfeb 100644 --- a/drivers/mtd/devices/pmc551.c +++ b/drivers/mtd/devices/pmc551.c | |||
@@ -725,16 +725,11 @@ static int __init init_pmc551(void) | |||
725 | } | 725 | } |
726 | 726 | ||
727 | mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); | 727 | mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); |
728 | if (!mtd) { | 728 | if (!mtd) |
729 | printk(KERN_NOTICE "pmc551: Cannot allocate new MTD " | ||
730 | "device.\n"); | ||
731 | break; | 729 | break; |
732 | } | ||
733 | 730 | ||
734 | priv = kzalloc(sizeof(struct mypriv), GFP_KERNEL); | 731 | priv = kzalloc(sizeof(struct mypriv), GFP_KERNEL); |
735 | if (!priv) { | 732 | if (!priv) { |
736 | printk(KERN_NOTICE "pmc551: Cannot allocate new MTD " | ||
737 | "device.\n"); | ||
738 | kfree(mtd); | 733 | kfree(mtd); |
739 | break; | 734 | break; |
740 | } | 735 | } |