diff options
| author | Shreeya Patel <[email protected]> | 2017-12-20 00:37:45 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-21 18:22:07 +0100 |
| commit | 37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2 (patch) | |
| tree | ceba517fd390bde53629b088e0265add788015dc /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 16e1b4ebfbc27a15fabaad64a2d3344360654c9c (diff) | |
Staging: rtl8723bs: Do not check for NOT NULL before kfree()
Do not check for NOT NULL before calling kfree because
if the pointer is NULL, no action occurs.
Done using the following semantic patch by coccinelle.
@@
expression ptr;
@@
- if (ptr != NULL)
kfree(ptr);
Signed-off-by: Shreeya Patel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions