diff options
| author | Bart Van Assche <[email protected]> | 2018-10-15 08:51:38 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-10-16 01:13:35 -0400 |
| commit | 81b6ca6dbada186d0d41c67db8d8eb223a64a56f (patch) | |
| tree | dff01edd6f5d3f8a9f1056175055532cc02574ac /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 80b045b385cfef10939c913fbfeb19ce5491c1f2 (diff) | |
scsi: target/core: Use sg_alloc_table() instead of open-coding it
The purpose of sg_alloc_table() is to allocate and initialize an
sg-list. Use that function instead of open-coding it. This patch will
make it easier to share code for caching sg-list allocations between the
SCSI and NVMe target cores.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Nicholas Bellinger <[email protected]>
Cc: Mike Christie <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions