vmm: fix set but not used warning
(cherry picked from commit 5a17f489d5848085307e1d5fa7ca142694b4946b)