diff options
author | Markus Elfring <[email protected]> | 2014-11-20 13:50:43 +0100 |
---|---|---|
committer | Brian Norris <[email protected]> | 2014-11-25 22:44:10 -0800 |
commit | 05a221bb1f49e6eebc9a3858cb45506f403b3ab6 (patch) | |
tree | aa85b86eb0cc5d7aca9e6da39394157d8491f87c /scripts/gdb/linux/tasks.py | |
parent | 775a9134f4398ca98a10af8cc3cf9b664017267f (diff) |
mtd: delete unnecessary checks before two function calls
The functions kfree() and pci_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 <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions