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: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
This commit is contained in:
parent
9d574f985f
commit
e15a56b746
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue