dmaengine: pl330: Remove unused 'regs' variable in pl330_submit_req()
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 29 Sep 2014 12:42:19 +0000 (14:42 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 08:00:09 +0000 (13:30 +0530)
The 'void __iomem *regs' is not used in pl330_submit_req() function.
Remove it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c

index 57049f84d0c0084c029b3ca399f9e3be70aa82bd..28e3775888a619e86c0345c4c95d9603d4e150f3 100644 (file)
@@ -1367,13 +1367,10 @@ static int pl330_submit_req(struct pl330_thread *thrd,
        struct pl330_dmac *pl330 = thrd->dmac;
        struct _xfer_spec xs;
        unsigned long flags;
-       void __iomem *regs;
        unsigned idx;
        u32 ccr;
        int ret = 0;
 
-       regs = thrd->dmac->base;
-
        if (pl330->state == DYING
                || pl330->dmac_tbd.reset_chan & (1 << thrd->id)) {
                dev_info(thrd->dmac->ddma.dev, "%s:%d\n",