Re: [PATCH] ext4: Delete unnecessary checks before brelse()

2020-07-08 Thread Ritesh Harjani
On 6/13/20 11:37 PM, Markus Elfring wrote: From: Markus Elfring Date: Sat, 13 Jun 2020 19:12:24 +0200 The brelse() function tests whether its argument is NULL and then returns immediately. Thus remove the tests which are not needed around the shown calls. This issue was detected by using th

[PATCH] ext4: Delete unnecessary checks before brelse()

2020-06-13 Thread Markus Elfring
From: Markus Elfring Date: Sat, 13 Jun 2020 19:12:24 +0200 The brelse() function tests whether its argument is NULL and then returns immediately. Thus remove the tests which are not needed around the shown calls. This issue was detected by using the Coccinelle software. Signed-off-by: Markus El