aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2018-10-29 16:44:18 -0700
committerJens Axboe <[email protected]>2018-12-07 22:26:55 -0700
commit1190203555ec58d768ea802e8fdbb5c42187d9d5 (patch)
treec4a453a5ee01b5115f1698ec9d081cd882179864 /tools/perf/scripts/python
parent5938870247be4453ef6602c7ce467bebb48113c8 (diff)
nvme: consolidate memset calls in the nvme_setup_cmd path
In function nvme_setup_cmd() we call command specific setup function for flush, rw, and discard. Instead of calling memset in each function lets call it once in the parent function. This is purely code cleanup patch and it does not change any existing functionality. Signed-off-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions