summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-02-04 15:17:48 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-05 11:26:23 +0300
commitde7017625e8b642506b7e56574353cc9695ca357 (patch)
treef64df03a0c459ac421139fa7ef3e15b7b05d07f1 /scripts/gdb/linux/utils.py
parent1b4b32c6b88b3a0985b9448f52b3a58021de5653 (diff)
downloadlinux-de7017625e8b642506b7e56574353cc9695ca357.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions