diff options
Diffstat (limited to 'arch/x86/kernel/mmiotrace/mmio-mod.c')
-rw-r--r-- | arch/x86/kernel/mmiotrace/mmio-mod.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/mmiotrace/mmio-mod.c b/arch/x86/kernel/mmiotrace/mmio-mod.c index 62abc281a512..8256546d49bf 100644 --- a/arch/x86/kernel/mmiotrace/mmio-mod.c +++ b/arch/x86/kernel/mmiotrace/mmio-mod.c | |||
@@ -415,8 +415,6 @@ void enable_mmiotrace(void) | |||
415 | if (is_enabled()) | 415 | if (is_enabled()) |
416 | goto out; | 416 | goto out; |
417 | 417 | ||
418 | reference_kmmio(); | ||
419 | |||
420 | #if 0 /* XXX: tracing does not support text entries */ | 418 | #if 0 /* XXX: tracing does not support text entries */ |
421 | marker_file = debugfs_create_file("marker", 0660, dir, NULL, | 419 | marker_file = debugfs_create_file("marker", 0660, dir, NULL, |
422 | &fops_marker); | 420 | &fops_marker); |
@@ -448,7 +446,6 @@ void disable_mmiotrace(void) | |||
448 | spin_unlock_irq(&trace_lock); | 446 | spin_unlock_irq(&trace_lock); |
449 | 447 | ||
450 | clear_trace_list(); /* guarantees: no more kmmio callbacks */ | 448 | clear_trace_list(); /* guarantees: no more kmmio callbacks */ |
451 | unreference_kmmio(); | ||
452 | if (marker_file) { | 449 | if (marker_file) { |
453 | debugfs_remove(marker_file); | 450 | debugfs_remove(marker_file); |
454 | marker_file = NULL; | 451 | marker_file = NULL; |