From 113d9274ea8d83bef8e61cf381eb3939c8088901 Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Mon, 7 Sep 2020 09:55:03 -0500 Subject: [PATCH] drivers: ethernet: remove stray expression An unnecessary expression that doesn't compile was inadvertently introduced in the device constification PR. Remove it. Signed-off-by: Peter Bigot --- drivers/ethernet/eth_enc424j600.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/ethernet/eth_enc424j600.c b/drivers/ethernet/eth_enc424j600.c index c607e9f3b03..813a7b8209b 100644 --- a/drivers/ethernet/eth_enc424j600.c +++ b/drivers/ethernet/eth_enc424j600.c @@ -600,8 +600,6 @@ static int enc424j600_init(const struct device *dev) uint8_t retries = ENC424J600_DEFAULT_NUMOF_RETRIES; uint16_t tmp; - context->dev; - /* SPI config */ context->spi_cfg.operation = SPI_WORD_SET(8); context->spi_cfg.frequency = config->spi_freq;