]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fabrics: remove memset in nvmf_reg_read64()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 15 Jun 2021 02:45:51 +0000 (19:45 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:19 +0000 (15:51 +0200)
commit694fa580e76414f7d81185cb53e29c8bfef01246
tree1f5e70e6420750d914e3560779c66b47f4da9617
parent73a5e721c6625769785e2d30bdba03caa9e6e894
nvme-fabrics: remove memset in nvmf_reg_read64()

Declare and initialize structure variable to the zero values so that we
can get rid of the zeroout memset call.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c