Skip to content

Commit

Permalink
dmaengine: pl330: Remove unused 'regs' variable in pl330_submit_req()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Vinod Koul committed Oct 15, 2014
1 parent 937cb2f commit c3cb38f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/dma/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c3cb38f

Please sign in to comment.