]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit265b70d51fa7f81b34680d51226795b97904db06
treee41f3d95d4996817e418c807db1aa3ceae6db221
parentaf677ef6128967cb15b627abb7dff229e3805189
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: 04634608bf8f ("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