diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-08-25 14:28:10 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:40 -0800 |
commit | b537870ed1880f7f52eec17e115727a53b58ed27 (patch) | |
tree | de879eac599b40523528899d865bc11bb089e944 /arch/arm/mach-tegra/iovmm.c | |
parent | b1a26f8631e7376d3b53f616c207c43d57ab1ef8 (diff) |
ARM: tegra: Fix warnings
Change-Id: Ic2cecccf0f4f6e6ca612af2ee07acdbca2ce07a5
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/49281
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R59e04e0a46099403284a036de7f35d21c6188d81
Diffstat (limited to 'arch/arm/mach-tegra/iovmm.c')
-rw-r--r-- | arch/arm/mach-tegra/iovmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/iovmm.c b/arch/arm/mach-tegra/iovmm.c index dfe02fc17b7c..1e91d8071678 100644 --- a/arch/arm/mach-tegra/iovmm.c +++ b/arch/arm/mach-tegra/iovmm.c @@ -101,10 +101,10 @@ size_t tegra_iovmm_get_max_free(struct tegra_iovmm_client *client) struct rb_node *n; struct tegra_iovmm_block *b; struct tegra_iovmm_domain *domain = client->domain; + tegra_iovmm_addr_t max_free = 0; spin_lock(&domain->block_lock); n = rb_first(&domain->all_blocks); - tegra_iovmm_addr_t max_free = 0; while (n) { b = rb_entry(n, struct tegra_iovmm_block, all_node); n = rb_next(n); @@ -902,7 +902,7 @@ static int tegra_iovmm_suspend(void) } } spin_unlock_irqrestore(&iovmm_device_list_lock, flags); - return 0; + return 0; } static void tegra_iovmm_resume(void) |