]> git.karo-electronics.de Git - karo-tx-linux.git/commit
f2fs: remove pointless bit testing in f2fs_delete_entry()
authorJan Kara <jack@suse.cz>
Thu, 23 Oct 2014 12:40:20 +0000 (14:40 +0200)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:38 +0000 (16:07 -0800)
commit1f7732fe6cc0c37befc74cef1d289cd2272b7a5c
tree3a2e923022c9e7ed6a9aba2daed876c7bc7b1488
parente3fb1b794b5f0c9f9b65707ce4e6be264a9c60f8
f2fs: remove pointless bit testing in f2fs_delete_entry()

There's no point in using test_and_clear_bit_le() when we don't use the
return value of the function. Just use clear_bit_le() instead.

Coverity-id: 1016434
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c