ata: ahci_st: Remove an unused field in struct st_ahci_drv_data
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 1 Apr 2024 12:44:29 +0000 (14:44 +0200)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 2 Apr 2024 03:18:15 +0000 (12:18 +0900)
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>
drivers/ata/ahci_st.c

index d4a626f87963ba123a4f07a366c28681db4714fa..79a8b0aa37bf37fa8eb44e2dcba7181dfb2222b0 100644 (file)
@@ -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;