diff options
author | Markus Elfring <[email protected]> | 2016-07-24 10:16:56 +0200 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2016-09-09 16:08:45 +0100 |
commit | d520dd1f348dcaafcb8ce804b2a5ebb1be004719 (patch) | |
tree | 44f02265d055375d49df1b44408645d5aa055cf0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ac0e94b63e65f9c6d2f3c49107118e2228236db4 (diff) |
firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy"
The dma_pool_destroy() 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 <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Mike Waychison <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions