ASoC: rsrc-card: remove unused dai_num
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 20 May 2016 09:39:55 +0000 (09:39 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 16:00:38 +0000 (17:00 +0100)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsrc-card.c

index 1bc7ecfc42a9e18004d7726e2de45ca06f1542ca..b85b5ee5fad4751777b9f6490a13b1e7bce71ce7 100644 (file)
@@ -64,7 +64,6 @@ struct rsrc_card_priv {
        struct snd_soc_codec_conf codec_conf;
        struct rsrc_card_dai *dai_props;
        struct snd_soc_dai_link *dai_link;
-       int dai_num;
        u32 convert_rate;
        u32 convert_channels;
 };
@@ -418,7 +417,6 @@ static int rsrc_card_parse_of(struct device_node *node,
 
        priv->dai_props = props;
        priv->dai_link  = links;
-       priv->dai_num   = num;
 
        /* Init snd_soc_card */
        priv->snd_card.owner                    = THIS_MODULE;