Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92126
b: refs/heads/master
c: 9f2f0f7
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Takashi Iwai committed Apr 24, 2008
1 parent 95aa5bf commit 4521384
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91662577979cadf945cd3ffc4c470e5b91378370
refs/heads/master: 9f2f0f7c4e997a74ff9fb8e2e2ed0daa21962e97
10 changes: 0 additions & 10 deletions trunk/sound/spi/at73c213.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,6 @@ static struct snd_pcm_ops at73c213_playback_ops = {
.pointer = snd_at73c213_pcm_pointer,
};

static void snd_at73c213_pcm_free(struct snd_pcm *pcm)
{
struct snd_at73c213 *chip = snd_pcm_chip(pcm);
if (chip->pcm) {
snd_pcm_lib_preallocate_free_for_all(chip->pcm);
chip->pcm = NULL;
}
}

static int __devinit snd_at73c213_pcm_new(struct snd_at73c213 *chip, int device)
{
struct snd_pcm *pcm;
Expand All @@ -345,7 +336,6 @@ static int __devinit snd_at73c213_pcm_new(struct snd_at73c213 *chip, int device)
goto out;

pcm->private_data = chip;
pcm->private_free = snd_at73c213_pcm_free;
pcm->info_flags = SNDRV_PCM_INFO_BLOCK_TRANSFER;
strcpy(pcm->name, "at73c213");
chip->pcm = pcm;
Expand Down

0 comments on commit 4521384

Please sign in to comment.