From: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> There's no need to initialise a list_head which is only going to be added with list_add() to an existing list. Remove this redundant code. Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> --- drivers/staging/etnaviv/etnaviv_mmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/etnaviv/etnaviv_mmu.c b/drivers/staging/etnaviv/etnaviv_mmu.c index 754bcbc0c19a..f40d4ec5ade7 100644 --- a/drivers/staging/etnaviv/etnaviv_mmu.c +++ b/drivers/staging/etnaviv/etnaviv_mmu.c @@ -104,7 +104,6 @@ int etnaviv_iommu_map_gem(struct etnaviv_iommu *mmu, if (!mapping) return -ENOMEM; - INIT_LIST_HEAD(&mapping->obj_head); mapping->mmu = mmu; /* v1 MMU can optimize single entry (contiguous) scatterlists */ -- 2.5.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel