ARM: riscpc: dma: make state a local variable
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 May 2019 16:43:36 +0000 (17:43 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 9 May 2019 16:16:41 +0000 (17:16 +0100)
commit39694ed0dbe17de1eff7850e7481bef98047130c
treec28618f706451ab29c160c4965d69abc65516870
parent8194468fadaaac5e04558d955e7bff8692212459
ARM: riscpc: dma: make state a local variable

Make state a local variable to avoid rewriting it in the DMA loop.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-rpc/dma.c