summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/iovmm.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-08-12 20:37:43 +0200
committerArnd Bergmann <arnd@arndb.de>2011-08-12 20:37:43 +0200
commit696314cf53b7b2d1f91af6da259533eb9611e7bf (patch)
tree8e1bf5ea4c322f8b6985b1349d768d2837e417db /arch/arm/plat-omap/iovmm.c
parent419bb4e0641cf7d84b1684b15afdd176f25c7ebe (diff)
parente9d0b97eef235eccc3df9ddb9895b35c53a8aaa2 (diff)
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 into fixes
Diffstat (limited to 'arch/arm/plat-omap/iovmm.c')
-rw-r--r--arch/arm/plat-omap/iovmm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index c60737c49a3..79e7fedb860 100644
--- a/arch/arm/plat-omap/iovmm.c
+++ b/arch/arm/plat-omap/iovmm.c
@@ -423,9 +423,6 @@ static void sgtable_fill_kmalloc(struct sg_table *sgt, u32 pa, u32 da,
{
unsigned int i;
struct scatterlist *sg;
- void *va;
-
- va = phys_to_virt(pa);
for_each_sg(sgt->sgl, sg, sgt->nents, i) {
unsigned bytes;