forked from Minki/linux
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>
This commit is contained in:
parent
56919c5c97
commit
a16b043cc9
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user