summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-05-28 09:51:56 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:45:22 +0900
commitd11e68d30775a40c367b6b5c34981db7c841c1e1 (patch)
treeb6cfef37d32a93c059a6a67c5b2122e08ebf893c /sound
parent4428a4fd61efe95fae950e3effe8625cac84873e (diff)
ASoC: ymu831: Remove unneeded casts
Remove useless casts from/to the same type. They may actually introduce errors if type changes by mistake. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ymu831/ymu831.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ymu831/ymu831.c b/sound/soc/codecs/ymu831/ymu831.c
index 554ab125e05a..acc913b3ee74 100644
--- a/sound/soc/codecs/ymu831/ymu831.c
+++ b/sound/soc/codecs/ymu831/ymu831.c
@@ -8473,7 +8473,7 @@ static void irq_func(struct work_struct *work)
;
enable_irq(mc_asoc->pdata->irq);
}
- kfree((void *)work);
+ kfree(work);
}
irqreturn_t irq_handler(int irq, void *data)
{
@@ -8496,8 +8496,8 @@ irqreturn_t irq_handler(int irq, void *data)
;
disable_irq_nosync(mc_asoc->pdata->irq);
}
- INIT_WORK((struct work_struct *)work, irq_func);
- ret = queue_work(my_wq, (struct work_struct *)work);
+ INIT_WORK(work, irq_func);
+ ret = queue_work(my_wq, work);
}
return IRQ_HANDLED;
}