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)
commit1e13175bd2b608ce1f94ef84f54dfac0d7288241
treed2abe2ce9e96ffd7c7a7cc182df69346efc0fd9e
parentae6a237560dccd1d2e3191b7365bc19ae654ff91
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