From b8baadff5d01e68e1c4b34b79b4295dc6c75c6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 1 May 2024 12:53:18 +0200 Subject: [PATCH] fix(gem-net): clippy::redundant_field_names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/drivers/net/gem.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/drivers/net/gem.rs b/src/drivers/net/gem.rs index e007aade51..2d54ac348d 100644 --- a/src/drivers/net/gem.rs +++ b/src/drivers/net/gem.rs @@ -691,16 +691,16 @@ pub fn init_device( ); Ok(GEMDriver { - gem: gem, + gem, mtu: 1500, - irq: irq, - mac: mac, + irq, + mac, rx_counter: 0, - rxbuffer: rxbuffer, - rxbuffer_list: rxbuffer_list, + rxbuffer, + rxbuffer_list, tx_counter: 0, - txbuffer: txbuffer, - txbuffer_list: txbuffer_list, + txbuffer, + txbuffer_list, }) }