aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_dwc_460ex.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-26 09:34:49 -0700
committerTejun Heo <tj@kernel.org>2014-03-26 12:36:53 -0400
commitd5185d655c1fc4dfd467303f45ba4496ad84ddf9 (patch)
tree2ef67e53daed91748cbd27a23887c3c25f0257d9 /drivers/ata/sata_dwc_460ex.c
parentata: sata_highbank: remove superfluous cast (diff)
downloadlinux-dev-d5185d655c1fc4dfd467303f45ba4496ad84ddf9.tar.xz
linux-dev-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/sata_dwc_460ex.c')
-rw-r--r--drivers/ata/sata_dwc_460ex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 73510d0d1406..0bb2cabd2197 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -461,8 +461,7 @@ static irqreturn_t dma_dwc_interrupt(int irq, void *hsdev_instance)
int chan;
u32 tfr_reg, err_reg;
unsigned long flags;
- struct sata_dwc_device *hsdev =
- (struct sata_dwc_device *)hsdev_instance;
+ struct sata_dwc_device *hsdev = hsdev_instance;
struct ata_host *host = (struct ata_host *)hsdev->host;
struct ata_port *ap;
struct sata_dwc_device_port *hsdevp;