udf: Remove redundant initialization of variable ret

After commit 9293fcfbc1 ("udf: Remove struct ustr as non-needed
intermediate storage"), the variable ret is being initialized with
'-ENOMEM' that is meaningless. So remove it.

Link: https://lore.kernel.org/r/20200922081322.70535-1-jingxiangfeng@huawei.com
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
Jing Xiangfeng 2020-09-22 16:13:22 +08:00 committed by Jan Kara
parent 8859bf2b12
commit aa9f6661ed

View file

@ -854,7 +854,7 @@ static int udf_load_pvoldesc(struct super_block *sb, sector_t block)
uint8_t *outstr;
struct buffer_head *bh;
uint16_t ident;
int ret = -ENOMEM;
int ret;
struct timestamp *ts;
outstr = kmalloc(128, GFP_NOFS);