From: SF Markus Elfring <hidden> Date: 2016-07-24 07:36:19
From: Markus Elfring <redacted>
Date: Sun, 24 Jul 2016 07:37:23 +0200
The of_node_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 <redacted>
---
drivers/input/rmi4/rmi_bus.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
On Sun, Jul 24, 2016 at 09:35:56AM +0200, SF Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Sun, 24 Jul 2016 07:37:23 +0200
The of_node_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 <redacted>