[media] s5p-mfc: remove meaningless memory bank assignment
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 6 Mar 2014 04:55:39 +0000 (01:55 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 13:29:09 +0000 (10:29 -0300)
This patch removes meaningless assignment of memory bank to itself.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Acked-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c

index 2475a3c9a0a62ab27330a347865530466d209e0d..ee05f2dd439b1017a7f8a59158d06fc6626a5d9d 100644 (file)
@@ -44,8 +44,6 @@ int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev)
                return -ENOMEM;
        }
 
-       dev->bank1 = dev->bank1;
-
        if (HAS_PORTNUM(dev) && IS_TWOPORT(dev)) {
                bank2_virt = dma_alloc_coherent(dev->mem_dev_r, 1 << MFC_BASE_ALIGN_ORDER,
                                        &bank2_dma_addr, GFP_KERNEL);