diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-09-29 08:42:19 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-10-15 04:00:09 -0400 |
commit | c3cb38f43cb9130a3727a24a6a6e74742bd3e910 (patch) | |
tree | 93d6ac99e222296bc8c47ca20b0d3feb871662b9 | |
parent | 937cb2f2498dcbd8bcf6d79dcc24e5c8a3627067 (diff) |
dmaengine: pl330: Remove unused 'regs' variable in pl330_submit_req()
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>
-rw-r--r-- | drivers/dma/pl330.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 57049f84d0c0..28e3775888a6 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -1367,13 +1367,10 @@ static int pl330_submit_req(struct pl330_thread *thrd, | |||
1367 | struct pl330_dmac *pl330 = thrd->dmac; | 1367 | struct pl330_dmac *pl330 = thrd->dmac; |
1368 | struct _xfer_spec xs; | 1368 | struct _xfer_spec xs; |
1369 | unsigned long flags; | 1369 | unsigned long flags; |
1370 | void __iomem *regs; | ||
1371 | unsigned idx; | 1370 | unsigned idx; |
1372 | u32 ccr; | 1371 | u32 ccr; |
1373 | int ret = 0; | 1372 | int ret = 0; |
1374 | 1373 | ||
1375 | regs = thrd->dmac->base; | ||
1376 | |||
1377 | if (pl330->state == DYING | 1374 | if (pl330->state == DYING |
1378 | || pl330->dmac_tbd.reset_chan & (1 << thrd->id)) { | 1375 | || pl330->dmac_tbd.reset_chan & (1 << thrd->id)) { |
1379 | dev_info(thrd->dmac->ddma.dev, "%s:%d\n", | 1376 | dev_info(thrd->dmac->ddma.dev, "%s:%d\n", |