Skip to contentSkip to conversation

cx25821-alsa: remove casts from void*

PATCH Applied Kulikov Vasiliy 1 participant 1 message Jun 29, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 14/25 cx25821-alsa: remove casts from void*

Remove unnesessary casts from void*.

---
 drivers/staging/cx25821/cx25821-alsa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/cx25821/cx25821-alsa.c +1 -1
index 1798975..ce2c6f1 100644
@@ -699,7 +699,7 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev)
 
 	/* Card "creation" */
 	card->private_free = snd_cx25821_dev_free;
-	chip = (struct cx25821_audio_dev *) card->private_data;
+	chip = card->private_data;
 	spin_lock_init(&chip->reg_lock);
 
 	chip->dev = dev;
Signature · 1 line
1.7.0.4