aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/oss
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/seq/oss')
-rw-r--r--sound/core/seq/oss/seq_oss_init.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c
index b9184d20c39f..b0e32e161dd1 100644
--- a/sound/core/seq/oss/seq_oss_init.c
+++ b/sound/core/seq/oss/seq_oss_init.c
@@ -403,14 +403,11 @@ free_devinfo(void *private)
403{ 403{
404 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private; 404 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private;
405 405
406 if (dp->timer) 406 snd_seq_oss_timer_delete(dp->timer);
407 snd_seq_oss_timer_delete(dp->timer);
408 407
409 if (dp->writeq) 408 snd_seq_oss_writeq_delete(dp->writeq);
410 snd_seq_oss_writeq_delete(dp->writeq);
411 409
412 if (dp->readq) 410 snd_seq_oss_readq_delete(dp->readq);
413 snd_seq_oss_readq_delete(dp->readq);
414 411
415 kfree(dp); 412 kfree(dp);
416} 413}