summaryrefslogtreecommitdiffstats
path: root/lib/rhashtable.c
diff options
context:
space:
mode:
authorMarkus Elfring2015-02-03 20:12:25 +0100
committerDavid S. Miller2015-02-05 05:29:47 +0100
commit9b55669c14212f89dba39a2d8e00c1ec1d44c1ec (patch)
treec3b1051a8d55dc71b216c608fe1fa9be50bc1326 /lib/rhashtable.c
parentIBM-EMAC: Delete an unnecessary check before the function call "of_dev_put" (diff)
downloadkernel-qcow2-linux-9b55669c14212f89dba39a2d8e00c1ec1d44c1ec.tar.gz
kernel-qcow2-linux-9b55669c14212f89dba39a2d8e00c1ec1d44c1ec.tar.xz
kernel-qcow2-linux-9b55669c14212f89dba39a2d8e00c1ec1d44c1ec.zip
NetCP: Deletion of unnecessary checks before two function calls
The functions cpsw_ale_destroy() and of_dev_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 <elfring@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions