Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: fs_enet: Remove unused fields in fs_platform_info struct

Since commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new binding.")
many fields of fs_platform_info structure are not used anymore.

Remove them.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/2e584fcd75e21a0f7e7d5f942eebdc067b2f82f9.1691155346.git.christophe.leroy@csgroup.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Christophe Leroy and committed by
Jakub Kicinski
caaf482e 26bbbef8

-19
-19
include/linux/fs_enet_pd.h
··· 111 111 }; 112 112 113 113 struct fs_platform_info { 114 - 115 - void(*init_ioports)(struct fs_platform_info *); 116 114 /* device specific information */ 117 - int fs_no; /* controller index */ 118 - char fs_type[4]; /* controller type */ 119 - 120 - u32 cp_page; /* CPM page */ 121 - u32 cp_block; /* CPM sblock */ 122 115 u32 cp_command; /* CPM page/sblock/mcn */ 123 116 124 - u32 clk_trx; /* some stuff for pins & mux configuration*/ 125 - u32 clk_rx; 126 - u32 clk_tx; 127 - u32 clk_route; 128 - u32 clk_mask; 129 - 130 - u32 mem_offset; 131 117 u32 dpram_offset; 132 - u32 fcc_regs_c; 133 118 134 - u32 device_flags; 135 - 136 119 struct device_node *phy_node; 137 - const struct fs_mii_bus_info *bus_info; 138 120 139 121 int rx_ring, tx_ring; /* number of buffers on rx */ 140 - __u8 macaddr[ETH_ALEN]; /* mac address */ 141 122 int rx_copybreak; /* limit we copy small frames */ 142 123 int napi_weight; /* NAPI weight */ 143 124