mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ata: sata_highbank: remove superfluous cast
hpriv->plat_data is 'void *' so there is no need to cast it to 'struct ecx_plat_data *'. Cc: Mark Langsdorf <[email protected]> Cc: Rob Herring <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
0b99f8648e
commit
a498e31643
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ static ssize_t ecx_transmit_led_message(struct ata_port *ap, u32 state,
|
|||
ssize_t size)
|
||||
{
|
||||
struct ahci_host_priv *hpriv = ap->host->private_data;
|
||||
struct ecx_plat_data *pdata = (struct ecx_plat_data *) hpriv->plat_data;
|
||||
struct ecx_plat_data *pdata = hpriv->plat_data;
|
||||
struct ahci_port_priv *pp = ap->private_data;
|
||||
unsigned long flags;
|
||||
int pmp, i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue