block/nvme: Reduce I/O registers scope
commit37d7a45abdfa7376ba04dc68ccc331a5b406d672
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 22 Sep 2020 08:38:18 +0000 (22 10:38 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 5 Oct 2020 08:35:52 +0000 (5 09:35 +0100)
tree2e554c3d1015eaaaca8f2cdd51fca4fc3a2d4269
parentf68453237b9c97f7d1948236a359524c45d7e2d8
block/nvme: Reduce I/O registers scope

We only access the I/O register in nvme_init().
Remove the reference in BDRVNVMeState and reduce its scope.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200922083821.578519-4-philmd@redhat.com>
block/nvme.c