]> 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)
commited37dbccacbc310ae6e09386f95a419b8f600124
tree1f5e70e6420750d914e3560779c66b47f4da9617
parent51fbb5a1be4b604490892b39ec255e42bf5c1128
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