ata: remove superfluous casts
[firefly-linux-kernel-4.4.55.git] / drivers / ata / sata_dwc_460ex.c
index 73510d0d14061a102b3d627920a063eb4e84faf7..0bb2cabd2197bba01c0b4dd175f662a353eba076 100644 (file)
@@ -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;