net-ipv6: Delete an unnecessary check before the function call "free_percpu"
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 2 Jul 2015 14:30:24 +0000 (16:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jul 2015 16:27:42 +0000 (09:27 -0700)
commit87775312a86bcf213e3b21f6f7c79e2e00d96f7b
tree2b84ab8b5214c1cdfb39640b340a5a960b2117ee
parent462e1ead9296a8452499fb10cf3b51903ffe24ac
net-ipv6: Delete an unnecessary check before the function call "free_percpu"

The free_percpu() 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 <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c