Skip to content

Commit

Permalink
ASoC: tegra20-ac97: Remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
thierryreding authored and broonie committed Jun 29, 2013
1 parent 128521f commit 8a08f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra20_ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8a08f4c

Please sign in to comment.