diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-09-26 01:47:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-26 02:51:40 +0200 |
commit | aadc4e01dbaaccd38abde03bc84d0332a6bd9eab (patch) | |
tree | 0454a095f5c5ee15c2c55773b7bb8debab51b0b9 /kernel/fork.c | |
parent | fs/reiserfs/do_balan.c: remove set but not used variable (diff) | |
download | linux-aadc4e01dbaaccd38abde03bc84d0332a6bd9eab.tar.xz linux-aadc4e01dbaaccd38abde03bc84d0332a6bd9eab.zip |
fat: delete an unnecessary check before brelse()
brelse() tests whether its argument is NULL and then returns immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Link: http://lkml.kernel.org/r/cfff3b81-fb5d-af26-7b5e-724266509045@web.de
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions