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/gus | |
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/gus')
-rw-r--r-- | sound/isa/gus/gusmax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/gus/gusmax.c b/sound/isa/gus/gusmax.c index f26eac8d8110..3e4a58b72913 100644 --- a/sound/isa/gus/gusmax.c +++ b/sound/isa/gus/gusmax.c | |||
@@ -191,7 +191,7 @@ static int __devinit snd_gusmax_mixer(struct snd_wss *chip) | |||
191 | 191 | ||
192 | static void snd_gusmax_free(struct snd_card *card) | 192 | static void snd_gusmax_free(struct snd_card *card) |
193 | { | 193 | { |
194 | struct snd_gusmax *maxcard = (struct snd_gusmax *)card->private_data; | 194 | struct snd_gusmax *maxcard = card->private_data; |
195 | 195 | ||
196 | if (maxcard == NULL) | 196 | if (maxcard == NULL) |
197 | return; | 197 | return; |
@@ -219,7 +219,7 @@ static int __devinit snd_gusmax_probe(struct device *pdev, unsigned int dev) | |||
219 | if (err < 0) | 219 | if (err < 0) |
220 | return err; | 220 | return err; |
221 | card->private_free = snd_gusmax_free; | 221 | card->private_free = snd_gusmax_free; |
222 | maxcard = (struct snd_gusmax *)card->private_data; | 222 | maxcard = card->private_data; |
223 | maxcard->card = card; | 223 | maxcard->card = card; |
224 | maxcard->irq = -1; | 224 | maxcard->irq = -1; |
225 | 225 | ||