diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-02-04 15:56:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 00:35:00 -0800 |
commit | 7af348be47fd2df5d276add2167b5838d48ba044 (patch) | |
tree | ff8a64beb4b5f95526e66dd90f5df58cdb41a6a3 /lib/string_helpers.c | |
parent | 27b917e54bed7156c2b0249969ace34a5f585626 (diff) | |
download | linux-7af348be47fd2df5d276add2167b5838d48ba044.tar.bz2 |
net: ep93xx_eth: Delete unnecessary checks before the function call "kfree"
The kfree() 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: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions