Skip to content

Commit c86f570

Browse files
moonlight83340danieldegrasse
authored andcommitted
drivers: ethernet: sy1xx: remove unused variable
Clean up unused variable 'rand_mac_addr' in eth_sensry_sy1xx_mac.c to improve code clarity. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent 80602f3 commit c86f570

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ethernet/eth_sensry_sy1xx_mac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ static int sy1xx_mac_start(const struct device *dev)
191191
{
192192
struct sy1xx_mac_dev_config *cfg = (struct sy1xx_mac_dev_config *)dev->config;
193193
struct sy1xx_mac_dev_data *data = (struct sy1xx_mac_dev_data *)dev->data;
194-
uint8_t rand_mac_addr[6];
195194

196195
extern void sy1xx_udma_disable_clock(sy1xx_udma_module_t module, uint32_t instance);
197196

0 commit comments

Comments
 (0)