1
0
Fork 0

KVM: Remove __init attributes for kvm_init_debug and kvm_init_msr_list

Since their callers are not declared with __init.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
hifive-unleashed-5.1
Zhang Xiantao 2007-11-16 14:38:21 +08:00 committed by Avi Kivity
parent 56919c5c97
commit a16b043cc9
2 changed files with 2 additions and 2 deletions

View File

@ -1332,7 +1332,7 @@ static u64 stat_get(void *_offset)
DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n");
static __init void kvm_init_debug(void)
static void kvm_init_debug(void)
{
struct kvm_stats_debugfs_item *p;

View File

@ -1049,7 +1049,7 @@ out:
return r;
}
static __init void kvm_init_msr_list(void)
static void kvm_init_msr_list(void)
{
u32 dummy[2];
unsigned i, j;