summaryrefslogtreecommitdiff
path: root/common/soft_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/soft_spi.c')
-rw-r--r--common/soft_spi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/soft_spi.c b/common/soft_spi.c
index c131650..25b589a 100644
--- a/common/soft_spi.c
+++ b/common/soft_spi.c
@@ -27,8 +27,6 @@
#include <common.h>
#include <spi.h>
-#if defined(CONFIG_SOFT_SPI)
-
#include <malloc.h>
/*-----------------------------------------------------------------------
@@ -193,5 +191,3 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen,
return(0);
}
-
-#endif /* CONFIG_SOFT_SPI */