]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: cpuid: remove the unnecessary variable
authorJiang Biao <jiang.biao2@zte.com.cn>
Mon, 7 Nov 2016 00:55:49 +0000 (08:55 +0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 16 Nov 2016 21:09:44 +0000 (22:09 +0100)
commit282e14a2a9d1daf4ec6b501058b733c16c6dfbdb
treed2abe2ce9e96ffd7c7a7cc182df69346efc0fd9e
parentee76b0de70ac751bc04ccba6928008770896ba96
kvm: x86: cpuid: remove the unnecessary variable

The use of local variable *function* is not necessary here. Remove
it to avoid compiling warning with -Wunused-but-set-variable option.

Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c