Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3cb38f4 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Vinod Koul
Browse files

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 937cb2f2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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",