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>
This commit is contained in:
parent
937cb2f249
commit
c3cb38f43c
@ -1367,13 +1367,10 @@ static int pl330_submit_req(struct pl330_thread *thrd,
|
|||||||
struct pl330_dmac *pl330 = thrd->dmac;
|
struct pl330_dmac *pl330 = thrd->dmac;
|
||||||
struct _xfer_spec xs;
|
struct _xfer_spec xs;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
void __iomem *regs;
|
|
||||||
unsigned idx;
|
unsigned idx;
|
||||||
u32 ccr;
|
u32 ccr;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
regs = thrd->dmac->base;
|
|
||||||
|
|
||||||
if (pl330->state == DYING
|
if (pl330->state == DYING
|
||||||
|| pl330->dmac_tbd.reset_chan & (1 << thrd->id)) {
|
|| pl330->dmac_tbd.reset_chan & (1 << thrd->id)) {
|
||||||
dev_info(thrd->dmac->ddma.dev, "%s:%d\n",
|
dev_info(thrd->dmac->ddma.dev, "%s:%d\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user