KVM: Fix ERROR: do not initialise statics to 0 or NULL in kvm_main.c
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Thu, 26 Feb 2015 06:58:21 +0000 (14:58 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 10 Mar 2015 13:37:44 +0000 (10:37 -0300)
commitf4fee93270abbf862aab268111ac1e12934130c4
treeb96f1ad744176c727bd08ca63fd4e61c98f20c83
parenta642a1756752421e5f6661d951943b53225c03eb
KVM: Fix ERROR: do not initialise statics to 0 or NULL in kvm_main.c

ERROR: do not initialise statics to 0 or NULL
+static int kvm_usage_count = 0;

The kvm_usage_count will be placed to .bss segment when linking, so
not need to set it to 0 here obviously.

This patch fixes this ERROR to reduce noise when checking new patches
in kvm_main.c.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c
This page took 0.0568070000000001 seconds and 5 git commands to generate.