ASoC: tegra20-ac97: Remove unused variable
authorThierry Reding <thierry.reding@gmail.com>
Fri, 28 Jun 2013 19:53:25 +0000 (21:53 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 29 Jun 2013 09:54:49 +0000 (10:54 +0100)
With the conversion to devm_ioremap_resource() the memregion variable is
no longer used so it can be dropped.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/tegra/tegra20_ac97.c

index 6c1255b44535d3054d07cbacd951ffcff214ef0a..e58233f7df616e6bb406f809cea23069c4059933 100644 (file)
@@ -312,7 +312,7 @@ static const struct regmap_config tegra20_ac97_regmap_config = {
 static int tegra20_ac97_platform_probe(struct platform_device *pdev)
 {
        struct tegra20_ac97 *ac97;
-       struct resource *mem, *memregion;
+       struct resource *mem;
        u32 of_dma[2];
        void __iomem *regs;
        int ret = 0;