]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Remove a "set but not used" variable
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 6 Apr 2021 02:49:11 +0000 (10:49 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Sep 2021 10:52:10 +0000 (06:52 -0400)
commit0017e56552db8f70b36344c36d0ea6054499ae80
treec95f22818111c26d2c2e20ca3cb0370d02713109
parenta0c1dbbc6ba1f2948c24817768924191feb40614
KVM: MIPS: Remove a "set but not used" variable

This fix a build warning:

   arch/mips/kvm/vz.c: In function '_kvm_vz_restore_htimer':
>> arch/mips/kvm/vz.c:392:10: warning: variable 'freeze_time' set but not used [-Wunused-but-set-variable]
     392 |  ktime_t freeze_time;
         |          ^~~~~~~~~~~

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Message-Id: <20210406024911.2008046-1-chenhuacai@loongson.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/vz.c