Commit e15a56b7 authored by Zhen Lei's avatar Zhen Lei Committed by Dave Kleikamp
Browse files

jfs: remove unnecessary oom message



Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message

Remove it can help us save a bit of memory.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent 9d574f98
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -103,10 +103,8 @@ int diMount(struct inode *ipimap)
	 */
	/* allocate the in-memory inode map control structure. */
	imap = kmalloc(sizeof(struct inomap), GFP_KERNEL);
	if (imap == NULL) {
		jfs_err("diMount: kmalloc returned NULL!");
	if (imap == NULL)
		return -ENOMEM;
	}

	/* read the on-disk inode map control structure. */