mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
The functions kfree() and of_node_put() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Soren Brinkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>