mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
ata: ep93xx: cut drvdata assignment
ata_host_alloc_pinfo() assigns the host pointer to the struct device * drvdata, do not assign drv_data like this. Since ata_host_alloc_pinfo() is called after this site, the correct value is set eventually, but this assignment is just plain pointless. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
7ed4a21ad3
commit
62a98c2764
1 changed files with 0 additions and 1 deletions
|
@ -944,7 +944,6 @@ static int ep93xx_pata_probe(struct platform_device *pdev)
|
|||
goto err_rel_gpio;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, drv_data);
|
||||
drv_data->pdev = pdev;
|
||||
drv_data->ide_base = ide_base;
|
||||
drv_data->udma_in_phys = mem_res->start + IDEUDMADATAIN;
|
||||
|
|
Loading…
Reference in a new issue