nvme: have nvme_init_identify set ctrl->cap
authorSagi Grimberg <sagi@grimberg.me>
Tue, 23 Jul 2019 00:06:52 +0000 (17:06 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:00 +0000 (12:55 -0700)
commit4fba445828fc047c095a3a955b4ceac62cd56964
treeacd9e0ffcbb12dd44f3e41e0032ef613d1aed681
parent10407ec9b42d30a6ebc49f7f84e2bb2131438699
nvme: have nvme_init_identify set ctrl->cap

No need to use a stack cap variable.

Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c