Re: [PATCH] quota: remvoe redundant variable assignment

2019-04-15 Thread Jan Kara
On Sun 14-04-19 21:58:55, Chengguang Xu wrote: > The assignment of variable ret is redundant because the > value of ret is 0 after calling v2_read_header() in normal > case. > > Signed-off-by: Chengguang Xu Thanks for the patch. Yes, you are correct the assignment is redundant but this way it is

[PATCH] quota: remvoe redundant variable assignment

2019-04-14 Thread Chengguang Xu
The assignment of variable ret is redundant because the value of ret is 0 after calling v2_read_header() in normal case. Signed-off-by: Chengguang Xu --- fs/quota/quota_v2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/quota/quota_v2.c b/fs/quota/quota_v2.c index a73e5b34db41..25d36607b