aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2021-08-26 21:04:08 +0800
committerTheodore Ts'o <tytso@mit.edu>2021-08-30 23:36:51 -0400
commit8e33fadf945a918c50d92fab6a769661df484156 (patch)
tree99a040598cd9e5b567257daf16654a08cf971ac7 /tools/perf/util/c++/clang.cpp
parent0904c9ae3465c7acc066a564a76b75c0af83e6c7 (diff)
ext4: remove an unnecessary if statement in __ext4_get_inode_loc()
The "if (!buffer_uptodate(bh))" hunk covered almost the whole code after getting buffer in __ext4_get_inode_loc() which seems unnecessary, remove it and switch to check ext4_buffer_uptodate(), it simplify code and make it more readable. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20210826130412.3921207-3-yi.zhang@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions