]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/blackfin/bf5xx-tdm.c
tomoyo: cleanup. don't store bogus pointer
[mv-sheeva.git] / sound / soc / blackfin / bf5xx-tdm.c
index 4b360124083e7962482e045a57963776ca3c7d22..24c14269f4bc498601fb920e130b1ff44c5d4028 100644 (file)
@@ -210,8 +210,7 @@ static int bf5xx_tdm_set_channel_map(struct snd_soc_dai *dai,
 #ifdef CONFIG_PM
 static int bf5xx_tdm_suspend(struct snd_soc_dai *dai)
 {
-       struct sport_device *sport =
-               (struct sport_device *)dai->private_data;
+       struct sport_device *sport = dai->private_data;
 
        if (!dai->active)
                return 0;
@@ -225,8 +224,7 @@ static int bf5xx_tdm_suspend(struct snd_soc_dai *dai)
 static int bf5xx_tdm_resume(struct snd_soc_dai *dai)
 {
        int ret;
-       struct sport_device *sport =
-               (struct sport_device *)dai->private_data;
+       struct sport_device *sport = dai->private_data;
 
        if (!dai->active)
                return 0;