]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove unnecessary condition judgment
authorYuan Zhong <yuan.mark.zhong@samsung.com>
Mon, 9 Mar 2015 02:43:50 +0000 (02:43 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:38 +0000 (15:08 -0700)
commit476e4edcd86a28b9cf97756e55bc8d986098d3b2
treefc4dcb42f00673503e1417ceb35eae60a17a8024
parent0813851b6e38f2363ccfedcfaed6684602aab61b
f2fs: remove unnecessary condition judgment

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 <yuan.mark.zhong@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c