summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw-common.c
diff options
context:
space:
mode:
authorMarkus Elfring2015-02-04 13:17:48 +0100
committerDavid S. Miller2015-02-05 09:26:23 +0100
commitde7017625e8b642506b7e56574353cc9695ca357 (patch)
treef64df03a0c459ac421139fa7ef3e15b7b05d07f1 /drivers/net/ethernet/ti/cpsw-common.c
parentnet: fec: Delete unnecessary checks before the function call "kfree" (diff)
downloadkernel-qcow2-linux-de7017625e8b642506b7e56574353cc9695ca357.tar.gz
kernel-qcow2-linux-de7017625e8b642506b7e56574353cc9695ca357.tar.xz
kernel-qcow2-linux-de7017625e8b642506b7e56574353cc9695ca357.zip
netxen: Delete an unnecessary check 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw-common.c')
0 files changed, 0 insertions, 0 deletions