]> git.ipfire.org Git - thirdparty/qemu.git/commit
dataplane/xen-block: remove dead code
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 15 Feb 2019 16:25:31 +0000 (16:25 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 28 Feb 2019 17:21:12 +0000 (17:21 +0000)
commite02d94941d9c26035d5c2e5075c83afbe8c5eaef
treef2533f3d3a7149bf1afd7b93b58c5cc98a5d5088
parent711d13d5e2e160c1c3bcbd302af6df3980a99469
dataplane/xen-block: remove dead code

The if() statement is clearly bogus (dead code which should have been
cleaned up when grant mapping was removed).

Spotted by Coverity: CID 1398635

While in the neighbourhood, add a missing 'fall through' annotation.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20190215162533.19475-2-paul.durrant@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/block/dataplane/xen-block.c