summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-20 15:06:35 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commite2cae514725568bb4d3f8588c816f6ca521fa68f (patch)
treea10388f8e936631547326e138490c2590b7a76ed /drivers/net
parent3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff)
downloadu-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.tar.gz
spi: Remove unused spi_init
Remove spi_init definition which never used on respective code since from many years. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/e1000_spi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/e1000_spi.c b/drivers/net/e1000_spi.c
index b38f4df9f3..aecd290d72 100644
--- a/drivers/net/e1000_spi.c
+++ b/drivers/net/e1000_spi.c
@@ -77,9 +77,6 @@ static inline struct e1000_hw *e1000_hw_from_spi(struct spi_slave *spi)
return container_of(spi, struct e1000_hw, spi);
}
-/* Not sure why all of these are necessary */
-void spi_init(void) { /* Nothing to do */ }
-
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int mode)
{