[PATCH 1/1] bcache: Deletion of an unnecessary check before the function call "kobject_put"

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Nov 2014 21:25:39 +0100 The kobject_put() 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 ---

[PATCH 1/1] bcache: Deletion of an unnecessary check before the function call kobject_put

2014-11-19 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 21:25:39 +0100 The kobject_put() 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.