Re: [PATCH] ext2: Delete an unnecessary check before brelse()

2019-09-04 Thread Jan Kara
On Tue 03-09-19 14:44:08, Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 3 Sep 2019 14:40:18 +0200 > > The brelse() function 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 Cocci

[PATCH] ext2: Delete an unnecessary check before brelse()

2019-09-03 Thread Markus Elfring
From: Markus Elfring Date: Tue, 3 Sep 2019 14:40:18 +0200 The brelse() function 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. Signed-off-by: Markus Elfring --- fs/ext2/sup