diff options
| author | Markus Elfring <[email protected]> | 2015-12-16 18:12:06 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2015-12-21 22:06:36 -0500 |
| commit | 9be321819c43417432a8376428b90fe3fe3a3510 (patch) | |
| tree | 3c6e6b0eb3c5f064b0b791f750303f247560c3c6 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 448193b5b5e2471fc90ea11e78c39bcfd167efb6 (diff) | |
lpfc: Delete unnecessary checks before the function call "mempool_destroy"
The mempool_destroy() function tests whether its argument is NULL
and then returns immediately. Thus the test around the calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Hannes Reinicke <[email protected]>
Reviewed-by: Sebastian Herbszt <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions