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 <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2020-09-07 09:55:03 -05:00 committed by Jukka Rissanen
parent 27e1fd69f9
commit 113d9274ea

View File

@ -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;