]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: remove zeroout memset call for struct
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 16 Jun 2021 22:15:53 +0000 (15:15 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:21 +0000 (15:51 +0200)
commit284bc02b7a3c368aadca0519fe6b532776bce12a
treeeff79f16e34e69dfbfcd87274e2c6537ac0d5c8c
parent0f91989d5804a1e141efbff7aa4c323cbd50675d
nvme-pci: remove zeroout memset call for struct

Declare and initialize structure variables to zero values so that we can
remove zeroout memset calls in the host/pci.c.

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