summaryrefslogtreecommitdiffstats
path: root/include/kunit
diff options
context:
space:
mode:
authorMinghao Chi <chi.minghao@zte.com.cn>2022-08-19 08:18:19 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 21:55:07 -0700
commitcba7543e1515e79a85d37df85a0eb2cf0f07d115 (patch)
treef6469b9dca10749aaff28b76b19cef27113167c1 /include/kunit
parent2be9880dc87342dc7ae459c9ea5c9ee2a45b33d8 (diff)
downloadlinux-cba7543e1515e79a85d37df85a0eb2cf0f07d115.tar.bz2
fs/qnx6: delete unnecessary checks before brelse()
brelse() tests whether its argument is NULL and then returns immediately. Thus remove the tests which are not needed around the shown calls. Link: https://lkml.kernel.org/r/20220819081819.96347-1-chi.minghao@zte.com.cn Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn> Reported-by: Zeal Robot <zealci@zte.com.cn> Cc: CGEL ZTE <cgel.zte@gmail.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Minghao Chi <chi.minghao@zte.com.cn> Cc: Muchun Song <songmuchun@bytedance.com> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions