summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2018-10-29 16:44:18 -0700
committerJens Axboe <axboe@kernel.dk>2018-12-07 22:26:55 -0700
commit1190203555ec58d768ea802e8fdbb5c42187d9d5 (patch)
treec4a453a5ee01b5115f1698ec9d081cd882179864 /kernel
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 <chaitanya.kulkarni@wdc.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions