From: Christophe JAILLET Date: Mon, 1 Apr 2024 12:44:29 +0000 (+0200) Subject: ata: ahci_st: Remove an unused field in struct st_ahci_drv_data X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c88b50a12f962f520dfab0a53ab393f43df9bbd4;p=linux.git 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 Signed-off-by: Damien Le Moal --- diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c index d4a626f87963b..79a8b0aa37bf3 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;