diff options
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/oct_ilm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/oct_ilm.c b/arch/mips/cavium-octeon/oct_ilm.c index 71b213dbb621..2d68a39f1443 100644 --- a/arch/mips/cavium-octeon/oct_ilm.c +++ b/arch/mips/cavium-octeon/oct_ilm.c | |||
@@ -194,8 +194,7 @@ err_irq: | |||
194 | static __exit void oct_ilm_module_exit(void) | 194 | static __exit void oct_ilm_module_exit(void) |
195 | { | 195 | { |
196 | disable_timer(TIMER_NUM); | 196 | disable_timer(TIMER_NUM); |
197 | if (dir) | 197 | debugfs_remove_recursive(dir); |
198 | debugfs_remove_recursive(dir); | ||
199 | free_irq(OCTEON_IRQ_TIMER0 + TIMER_NUM, 0); | 198 | free_irq(OCTEON_IRQ_TIMER0 + TIMER_NUM, 0); |
200 | } | 199 | } |
201 | 200 | ||