diff options
author | Ondrej Zary <linux@zary.sk> | 2023-03-07 23:45:58 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-23 12:21:00 +0900 |
commit | 629722855391598325a3e7545ebcf23a4f8e6acb (patch) | |
tree | fdd8fa61a0a5554d834023a6bacff946ebf871fd /drivers/ata/libahci_platform.c | |
parent | 84d890fc0997106a2a1f7157c152b7f6b6592c39 (diff) | |
download | linux-stable-629722855391598325a3e7545ebcf23a4f8e6acb.tar.gz linux-stable-629722855391598325a3e7545ebcf23a4f8e6acb.tar.bz2 linux-stable-629722855391598325a3e7545ebcf23a4f8e6acb.zip |
ata: pata_parport-bpck6: don't cast pi->pardev to struct pardevice *
pi->pardev is struct pardevice *, no need to cast it to the same type.
Also clean up the return mess.
Signed-off-by: Ondrej Zary <linux@zary.sk>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/libahci_platform.c')
0 files changed, 0 insertions, 0 deletions