diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-26 12:02:30 +0900 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 11:22:29 -0800 |
commit | ce3737f047526f519985e175f07201d10b15c713 (patch) | |
tree | 76929c98567b9468fc4fd554e135f1af71b63899 /drivers/mtd/nand | |
parent | fc59a51e48010630507d8a0da6a1cf9ab23528bf (diff) | |
download | op-kernel-dev-ce3737f047526f519985e175f07201d10b15c713.zip op-kernel-dev-ce3737f047526f519985e175f07201d10b15c713.tar.gz |
mtd: au1550nd: 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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/au1550nd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 909b673..2880d88 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c @@ -418,10 +418,8 @@ static int au1550nd_probe(struct platform_device *pdev) } ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); - if (!ctx) { - dev_err(&pdev->dev, "no memory for NAND context\n"); + if (!ctx) return -ENOMEM; - } r = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!r) { |