]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: stats: remove dead stores
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Aug 2021 10:21:30 +0000 (06:21 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 07:35:15 +0000 (03:35 -0400)
commit5c6eb429ba65c33b4fe55219e83b6c4ca54810a4
tree33d9c2bbcd87edf98f066225360a5ac5d95378dd
parenta4e02af25c32afa8936b0582704c6491c92a6f11
KVM: stats: remove dead stores

These stores are copied and pasted from the "if" statements above.
They are dead and while they are not really a bug, they can be
confusing to anyone reading the code as well.  Remove them.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/binary_stats.c