summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/compr_lzo.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-01-31 23:42:08 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:21:58 +0200
commit045ead345b53c6186303f1413f90154f3137f457 (patch)
tree0ca2af26919b90f19cb986e0e27f41fc684edcf2 /fs/jffs2/compr_lzo.c
parentmtd: docg4: fix printk() warnings (diff)
downloadlinux-045ead345b53c6186303f1413f90154f3137f457.tar.xz
linux-045ead345b53c6186303f1413f90154f3137f457.zip
jffs2: Remove unnecessary OOM messages
Per call site OOM messages are unnecessary. k.alloc and v.alloc failures use dump_stack(). Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/compr_lzo.c')
-rw-r--r--fs/jffs2/compr_lzo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jffs2/compr_lzo.c b/fs/jffs2/compr_lzo.c
index af186ee674d8..c553bd6506da 100644
--- a/fs/jffs2/compr_lzo.c
+++ b/fs/jffs2/compr_lzo.c
@@ -33,7 +33,6 @@ static int __init alloc_workspace(void)
lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE));
if (!lzo_mem || !lzo_compress_buf) {
- printk(KERN_WARNING "Failed to allocate lzo deflate workspace\n");
free_workspace();
return -ENOMEM;
}