diff options
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 55639aceca63..25d76a5a9999 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -3017,11 +3017,7 @@ static u64 stat_get(void *_offset) | |||
3017 | return total; | 3017 | return total; |
3018 | } | 3018 | } |
3019 | 3019 | ||
3020 | static void stat_set(void *offset, u64 val) | 3020 | DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, NULL, "%llu\n"); |
3021 | { | ||
3022 | } | ||
3023 | |||
3024 | DEFINE_SIMPLE_ATTRIBUTE(stat_fops, stat_get, stat_set, "%llu\n"); | ||
3025 | 3021 | ||
3026 | static __init void kvm_init_debug(void) | 3022 | static __init void kvm_init_debug(void) |
3027 | { | 3023 | { |