Re: [PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-19 Thread Jiri Kosina
On Fri, 6 Nov 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 17:55:23 +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

Re: [PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-19 Thread Jiri Kosina
On Fri, 6 Nov 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 17:55:23 +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

[PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 17:55:23 +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] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 17:55:23 +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.