diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-06-28 15:53:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-29 05:54:49 -0400 |
commit | 8a08f4c4f24b4dfe7ff08542868e2b434c96221f (patch) | |
tree | f7c333dd9c49e5c4e7dac3bbf808f4cdf3514369 /sound | |
parent | 128521f6017d36d7c01449d4c97b37dc10c93387 (diff) |
ASoC: tegra20-ac97: Remove unused variable
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra20_ac97.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c index 6c1255b44535..e58233f7df61 100644 --- a/sound/soc/tegra/tegra20_ac97.c +++ b/sound/soc/tegra/tegra20_ac97.c | |||
@@ -312,7 +312,7 @@ static const struct regmap_config tegra20_ac97_regmap_config = { | |||
312 | static int tegra20_ac97_platform_probe(struct platform_device *pdev) | 312 | static int tegra20_ac97_platform_probe(struct platform_device *pdev) |
313 | { | 313 | { |
314 | struct tegra20_ac97 *ac97; | 314 | struct tegra20_ac97 *ac97; |
315 | struct resource *mem, *memregion; | 315 | struct resource *mem; |
316 | u32 of_dma[2]; | 316 | u32 of_dma[2]; |
317 | void __iomem *regs; | 317 | void __iomem *regs; |
318 | int ret = 0; | 318 | int ret = 0; |