diff options
| author | Xianting Tian <[email protected]> | 2020-07-09 11:06:07 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-07-13 23:14:46 -0400 |
| commit | 92e8d0323a5140c3e4a0e7098d3a5f43e2da87e8 (patch) | |
| tree | 024d7dd323659aee923c3d11e2f55e0befd4f4f9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b92a4a9f7be80fd519fc12c976a1bc7abbabf9a5 (diff) | |
scsi: virtio_scsi: Remove unnecessary condition check
kmem_cache_destroy() and mempool_destroy() both correctly handle null
pointer parameters. There is no need to check if the parameter is null
before calling these functions.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Paolo Bonzini <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Xianting Tian <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions