Skip to content

Commit c88b50a

Browse files
tititiou36damien-lemoal
authored andcommitted
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 <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 7d89994 commit c88b50a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ata/ahci_st.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define ST_AHCI_OOBR_CIMAX_SHIFT 0
3131

3232
struct st_ahci_drv_data {
33-
struct platform_device *ahci;
3433
struct reset_control *pwr;
3534
struct reset_control *sw_rst;
3635
struct reset_control *pwr_rst;

0 commit comments

Comments
 (0)