diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 55639aceca637ccfc295d37c5e9148c7d32c1d23..25d76a5a9999877527b91ca6ae64e2ba135f7c43 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c @@ -3017,11 +3017,7 @@ static u64 stat_get(void *_offset) return total; } -static void stat_set(void *offset, u64 val) -{ -} - -DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, stat_set, "%llu\n"); +DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n"); static __init void kvm_init_debug(void) {