Skip to content

Commit ca96286

Browse files
bbilasnashif
authored andcommitted
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 <[email protected]>
1 parent 8779972 commit ca96286

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/ethernet/dsa_ksz8xxx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_ETHERNET_LOG_LEVEL);
1313
#include <kernel.h>
1414
#include <errno.h>
1515
#include <sys/util.h>
16-
#include <drivers/spi.h>
1716
#include <net/ethernet.h>
1817
#include <linker/sections.h>
19-
#include <drivers/spi.h>
2018

2119
#if defined(CONFIG_DSA_SPI)
2220
#include <drivers/spi.h>

0 commit comments

Comments
 (0)