diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-01 15:44:29 +0300 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-04-02 06:18:15 +0300 |
commit | c88b50a12f962f520dfab0a53ab393f43df9bbd4 (patch) | |
tree | 3838be360284d63c385301873d54cb386d40822a /drivers/ata | |
parent | 7d899947bca5e1dc2447d9cffb2b31c989e0ceb4 (diff) | |
download | linux-c88b50a12f962f520dfab0a53ab393f43df9bbd4.tar.xz |
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')
-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; |