exec: Remove dead code (CID 1432876)
commit379218511219feddb85fde6362c0eefd94dd4828
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 30 Oct 2020 15:37:52 +0000 (30 16:37 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 14:42:52 +0000 (3 09:42 -0500)
tree8934e990ad5bed1fc3940e176937b6d9641496c7
parent2eba427eb1e9057ee6bd2b4e6c4c78cda3534bfe
exec: Remove dead code (CID 1432876)

We removed the global_locking field in commit 4174495408a,
leaving dead code around the 'unlocked' variable. Remove it
to fix the DEADCODE issue reported by Coverity (CID 1432876).

Fixes: 4174495408a ("exec: Remove MemoryRegion::global_locking field")
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201030153752.1557776-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/physmem.c