Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae65eb72 authored by Maxin John's avatar Maxin John Committed by Tony Lindgren
Browse files

arch:arm:plat-omap:iovmm: remove unused variable 'va'



The pointer "va" returned from "phys_to_virt(pa)" is never used in
"sgtable_fill_kmalloc()".So,it is safe to remove this set-but-unused variable.

Signed-off-by: default avatarMaxin B. John <maxin.john@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1d08fd9f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;