summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-04-01 14:44:29 +0200
committerDamien Le Moal <dlemoal@kernel.org>2024-04-02 05:18:15 +0200
commitc88b50a12f962f520dfab0a53ab393f43df9bbd4 (patch)
tree3838be360284d63c385301873d54cb386d40822a /drivers/ata/ahci_st.c
parentata: pata_macio: drop driver owner assignment (diff)
downloadlinux-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.c1
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;