summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_arasan_cf.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-26 17:34:49 +0100
committerTejun Heo <tj@kernel.org>2014-03-26 17:36:53 +0100
commitd5185d655c1fc4dfd467303f45ba4496ad84ddf9 (patch)
tree2ef67e53daed91748cbd27a23887c3c25f0257d9 /drivers/ata/pata_arasan_cf.c
parentata: sata_highbank: remove superfluous cast (diff)
downloadlinux-d5185d655c1fc4dfd467303f45ba4496ad84ddf9.tar.xz
linux-d5185d655c1fc4dfd467303f45ba4496ad84ddf9.zip
ata: remove superfluous casts
Unreferenced casts of void * types are unnecessary so remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_arasan_cf.c')
-rw-r--r--drivers/ata/pata_arasan_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c
index 73492dd4a4bc..6fac524c2f50 100644
--- a/drivers/ata/pata_arasan_cf.c
+++ b/drivers/ata/pata_arasan_cf.c
@@ -356,7 +356,7 @@ static void cf_exit(struct arasan_cf_dev *acdev)
static void dma_callback(void *dev)
{
- struct arasan_cf_dev *acdev = (struct arasan_cf_dev *) dev;
+ struct arasan_cf_dev *acdev = dev;
complete(&acdev->dma_completion);
}