RE: [f2fs-dev] [PATCH 1/3 v2] f2fs:remove unnecessary condition judgment

2015-03-08 Thread Chao Yu
> -Original Message- > From: Yuan Zhong [mailto:yuan.mark.zh...@samsung.com] > Sent: Monday, March 09, 2015 10:44 AM > To: Jaegeuk Kim; ??? > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: [f2

[f2fs-dev] [PATCH 1/3 v2] f2fs:remove unnecessary condition judgment

2015-03-08 Thread Yuan Zhong
Remove the unnecessary condition judgment, because 'max_slots' has been initialized to '0' at the beginging of the function, as following: if (max_slots) *max_slots = 0; Signed-off-by: Yuan Zhong --- fs/f2fs/dir.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -