kvm: x86: remove unused but set variable
authorJiang Biao <jiang.biao2@zte.com.cn>
Mon, 7 Nov 2016 00:57:16 +0000 (08:57 +0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 16 Nov 2016 21:09:44 +0000 (22:09 +0100)
commit695151964d3f9a4370985f17b05f57e7caaa6e3a
tree75dfba5f5fecf5efeeca811b3a79c0d3e58723a6
parentecd8a8c2b406c5cc9e1e39a7194eb5da4b110c5d
kvm: x86: remove unused but set variable

The local variable *gpa_offset* is set but not used afterwards,
which make the compiler issue a warning with option
-Wunused-but-set-variable. Remove it to avoid the warning.

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