Re: [PATCH] fs:ext4:hash.c: reduce one "if" comparison

2013-02-01 Thread Theodore Ts'o
On Sat, Dec 01, 2012 at 11:33:41PM +, Cong Ding wrote: > it is unnecessary to check i<4 after the loop. just do it before the break. > > Signed-off-by: Cong Ding Thanks, applied. - Ted -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] fs:ext4:hash.c: reduce one if comparison

2013-02-01 Thread Theodore Ts'o
On Sat, Dec 01, 2012 at 11:33:41PM +, Cong Ding wrote: it is unnecessary to check i4 after the loop. just do it before the break. Signed-off-by: Cong Ding ding...@gmail.com Thanks, applied. - Ted -- To unsubscribe from this list: send the line

[PATCH] fs:ext4:hash.c: reduce one "if" comparison

2012-12-01 Thread Cong Ding
it is unnecessary to check i<4 after the loop. just do it before the break. Signed-off-by: Cong Ding --- fs/ext4/hash.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/hash.c b/fs/ext4/hash.c index fa8e491..3d586f0 100644 --- a/fs/ext4/hash.c +++

[PATCH] fs:ext4:hash.c: reduce one if comparison

2012-12-01 Thread Cong Ding
it is unnecessary to check i4 after the loop. just do it before the break. Signed-off-by: Cong Ding ding...@gmail.com --- fs/ext4/hash.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/hash.c b/fs/ext4/hash.c index fa8e491..3d586f0 100644 ---