diff options
author | Joe Perches <joe@perches.com> | 2014-03-26 09:34:49 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-26 12:36:53 -0400 |
commit | d5185d655c1fc4dfd467303f45ba4496ad84ddf9 (patch) | |
tree | 2ef67e53daed91748cbd27a23887c3c25f0257d9 /drivers/ata/sata_dwc_460ex.c | |
parent | a498e31643c1e9981fde87556bc4f6133e2fd989 (diff) |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 73510d0d140..0bb2cabd219 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; |