Re: [Cluster-devel] [PATCH] GFS2: Delete an unnecessary check before the function call "iput"

2015-11-16 Thread Bob Peterson
- Original Message - > From: Markus Elfring > Date: Wed, 4 Nov 2015 21:23:43 +0100 > > The iput() 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

Re: [Cluster-devel] [PATCH] GFS2: Delete an unnecessary check before the function call "iput"

2015-11-13 Thread Bob Peterson
- Original Message - > From: Markus Elfring > Date: Wed, 4 Nov 2015 21:23:43 +0100 > > The iput() 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

[Cluster-devel] [PATCH] GFS2: Delete an unnecessary check before the function call "iput"

2015-11-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Nov 2015 21:23:43 +0100 The iput() 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: