]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commit2796a8e409429a67daeb813ed270eb645f56f817
tree1f5e70e6420750d914e3560779c66b47f4da9617
parent3b54064fbce73a4dada6019dd400f0ce28ab5eb9
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