diff options
author | Joe Perches <joe@perches.com> | 2014-03-26 16:34:49 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-26 16:36:53 (GMT) |
commit | d5185d655c1fc4dfd467303f45ba4496ad84ddf9 (patch) | |
tree | 2ef67e53daed91748cbd27a23887c3c25f0257d9 /drivers/ata/libahci.c | |
parent | a498e31643c1e9981fde87556bc4f6133e2fd989 (diff) | |
download | linux-d5185d655c1fc4dfd467303f45ba4496ad84ddf9.tar.xz |
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/libahci.c')
-rw-r--r-- | drivers/ata/libahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 7985ae7..6bd4f66 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1636,7 +1636,7 @@ static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) } if (irq_stat & PORT_IRQ_UNK_FIS) { - u32 *unk = (u32 *)(pp->rx_fis + RX_FIS_UNK); + u32 *unk = pp->rx_fis + RX_FIS_UNK; active_ehi->err_mask |= AC_ERR_HSM; active_ehi->action |= ATA_EH_RESET; |