diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 21:52:54 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-07 02:05:59 -0400 |
commit | 9fe856e47e1751204faf3d604c6d20ab24bd3b93 (patch) | |
tree | 744a735096a76caad69d73884893c897b0ce3219 /sound/isa/ad1816a | |
parent | 831853c87fb7234a8650484d30993242ea9ad6d3 (diff) |
sound: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/ad1816a')
-rw-r--r-- | sound/isa/ad1816a/ad1816a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/ad1816a/ad1816a.c b/sound/isa/ad1816a/ad1816a.c index bbcbf92a8ebe..3cb75bc97699 100644 --- a/sound/isa/ad1816a/ad1816a.c +++ b/sound/isa/ad1816a/ad1816a.c | |||
@@ -162,7 +162,7 @@ static int __devinit snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard | |||
162 | sizeof(struct snd_card_ad1816a), &card); | 162 | sizeof(struct snd_card_ad1816a), &card); |
163 | if (error < 0) | 163 | if (error < 0) |
164 | return error; | 164 | return error; |
165 | acard = (struct snd_card_ad1816a *)card->private_data; | 165 | acard = card->private_data; |
166 | 166 | ||
167 | if ((error = snd_card_ad1816a_pnp(dev, acard, pcard, pid))) { | 167 | if ((error = snd_card_ad1816a_pnp(dev, acard, pcard, pid))) { |
168 | snd_card_free(card); | 168 | snd_card_free(card); |