diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-01 14:44:29 +0200 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-04-02 05:18:15 +0200 |
commit | c88b50a12f962f520dfab0a53ab393f43df9bbd4 (patch) | |
tree | 3838be360284d63c385301873d54cb386d40822a /drivers/ata/ahci_st.c | |
parent | ata: pata_macio: drop driver owner assignment (diff) | |
download | linux-c88b50a12f962f520dfab0a53ab393f43df9bbd4.tar.xz linux-c88b50a12f962f520dfab0a53ab393f43df9bbd4.zip |
ata: ahci_st: Remove an unused field in struct st_ahci_drv_data
In "struct st_ahci_drv_data", the 'ahci' field is unused.
Remove it.
Found with cppcheck, unusedStructMember.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_st.c')
-rw-r--r-- | drivers/ata/ahci_st.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c index d4a626f87963..79a8b0aa37bf 100644 --- a/drivers/ata/ahci_st.c +++ b/drivers/ata/ahci_st.c @@ -30,7 +30,6 @@ #define ST_AHCI_OOBR_CIMAX_SHIFT 0 struct st_ahci_drv_data { - struct platform_device *ahci; struct reset_control *pwr; struct reset_control *sw_rst; struct reset_control *pwr_rst; |