ata: ahci_st: Fix compilation warning
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 19 Sep 2022 23:43:07 +0000 (08:43 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 19 Sep 2022 23:43:07 +0000 (08:43 +0900)
commit2d29dd108c787e039593f76c588d8f6d3541eb1c
treee41f3d95d4996817e418c807db1aa3ceae6db221
parente7840a9aae6f791d8fef47c892821b1915d20747
ata: ahci_st: Fix compilation warning

Remove the unused variable dev in st_ahci_probe() to avoid compilation
warning and build failures where CONFIG_WERROR is enabled.

Fixes: 3f74cd046fbe ("ata: libahci_platform: Parse ports-implemented property in resources getter")
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/ahci_st.c