aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix_devices.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2014-11-20 13:47:12 +0000
committerDavid S. Miller <[email protected]>2014-11-21 20:14:12 +0000
commit38a90e7ccb6c25a124ef46e1f30f5df1a0375fb6 (patch)
treec029e28e7b081bed1a0c439f3b09700d7fcec248 /drivers/net/usb/asix_devices.c
parentIBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put" (diff)
downloadkernel-38a90e7ccb6c25a124ef46e1f30f5df1a0375fb6.tar.gz
kernel-38a90e7ccb6c25a124ef46e1f30f5df1a0375fb6.zip
net: Xilinx: Deletion of unnecessary checks before two function calls
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]>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
0 files changed, 0 insertions, 0 deletions