diff mbox

[1/1] ASoC: samsung: Remove unused variable from idma.c

Message ID 1403765244-20642-1-git-send-email-sachin.kamat@samsung.com (mailing list archive)
State Accepted
Commit 41adf9056a26cf2e03139feefccf1c1d236a1c63
Headers show

Commit Message

Sachin Kamat June 26, 2014, 6:47 a.m. UTC
‘iiscon’ is not used in the function. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
 sound/soc/samsung/idma.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Brown June 27, 2014, 11:02 a.m. UTC | #1
On Thu, Jun 26, 2014 at 12:17:24PM +0530, Sachin Kamat wrote:
> ‘iiscon’ is not used in the function. Remove it.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c
index 8cc5770abb39..db6cefa18017 100644
--- a/sound/soc/samsung/idma.c
+++ b/sound/soc/samsung/idma.c
@@ -261,10 +261,9 @@  static int idma_mmap(struct snd_pcm_substream *substream,
 static irqreturn_t iis_irq(int irqno, void *dev_id)
 {
 	struct idma_ctrl *prtd = (struct idma_ctrl *)dev_id;
-	u32 iiscon, iisahb, val, addr;
+	u32 iisahb, val, addr;
 
 	iisahb  = readl(idma.regs + I2SAHB);
-	iiscon  = readl(idma.regs + I2SCON);
 
 	val = (iisahb & AHB_LVL0INT) ? AHB_CLRLVL0INT : 0;