drivers: ethernet: dsa_ksz8xxx: remove duplicated headers

drivers/spi.h header is included when CONFIG_DSA_SPI
is enabled so there is no necessity to do that once again.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
This commit is contained in:
Bartosz Bilas 2021-12-08 22:26:14 +01:00 committed by Anas Nashif
parent 8779972955
commit ca96286c22

View file

@ -13,10 +13,8 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_ETHERNET_LOG_LEVEL);
#include <kernel.h>
#include <errno.h>
#include <sys/util.h>
#include <drivers/spi.h>
#include <net/ethernet.h>
#include <linker/sections.h>
#include <drivers/spi.h>
#if defined(CONFIG_DSA_SPI)
#include <drivers/spi.h>