net: fman: Remove some unused fields in some structure
In "struct muram_info", the 'size' field is unused. In "struct memac_cfg", the 'fixed_link' field is unused. Remove them. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/425222d4f6c584e8316ccb7b2ef415a85c96e455.1712084103.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
1b39b79d26
commit
04af1d6437
@@ -267,7 +267,6 @@ struct memac_cfg {
|
||||
bool reset_on_init;
|
||||
bool pause_ignore;
|
||||
bool promiscuous_mode_enable;
|
||||
struct fixed_phy_status *fixed_link;
|
||||
u16 max_frame_length;
|
||||
u16 pause_quanta;
|
||||
u32 tx_ipg_length;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
struct muram_info {
|
||||
struct gen_pool *pool;
|
||||
void __iomem *vbase;
|
||||
size_t size;
|
||||
phys_addr_t pbase;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user