diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-16 12:43:35 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:16:21 -0500 |
commit | c3e6f7d8763fa0400d28c57633eb323515ba05fc (patch) | |
tree | b0803843b710ac74fc1399910445a8ff2cf396a5 /sound/pci/ca0106 | |
parent | f31a31b9024f21b2ad8f5a7c30e265a652e2e211 (diff) |
[ALSA] Remove superfluous pcm_free callbacks
Remove superflous pcm_free callbacks.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ca0106')
-rw-r--r-- | sound/pci/ca0106/ca0106_main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index 389d967c97f4..a89eed255098 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c | |||
@@ -1069,13 +1069,6 @@ static irqreturn_t snd_ca0106_interrupt(int irq, void *dev_id, | |||
1069 | return IRQ_HANDLED; | 1069 | return IRQ_HANDLED; |
1070 | } | 1070 | } |
1071 | 1071 | ||
1072 | static void snd_ca0106_pcm_free(snd_pcm_t *pcm) | ||
1073 | { | ||
1074 | ca0106_t *emu = pcm->private_data; | ||
1075 | emu->pcm = NULL; | ||
1076 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
1077 | } | ||
1078 | |||
1079 | static int __devinit snd_ca0106_pcm(ca0106_t *emu, int device, snd_pcm_t **rpcm) | 1072 | static int __devinit snd_ca0106_pcm(ca0106_t *emu, int device, snd_pcm_t **rpcm) |
1080 | { | 1073 | { |
1081 | snd_pcm_t *pcm; | 1074 | snd_pcm_t *pcm; |
@@ -1088,7 +1081,6 @@ static int __devinit snd_ca0106_pcm(ca0106_t *emu, int device, snd_pcm_t **rpcm) | |||
1088 | return err; | 1081 | return err; |
1089 | 1082 | ||
1090 | pcm->private_data = emu; | 1083 | pcm->private_data = emu; |
1091 | pcm->private_free = snd_ca0106_pcm_free; | ||
1092 | 1084 | ||
1093 | switch (device) { | 1085 | switch (device) { |
1094 | case 0: | 1086 | case 0: |