mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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 @@ long kvm_arch_vm_ioctl(struct file *filp,
|
|||
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 a new issue