dm: blk: Improve block device claiming
[oweals/u-boot.git] / drivers / spi / soft_spi_legacy.c
index c969be31eb31828066e2c044c825529d6412db69..941daa730b0a7c6e6b9b7c1326d8526dd480e559 100644 (file)
@@ -42,11 +42,6 @@ static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave)
  */
 void spi_init (void)
 {
-#ifdef SPI_INIT
-       volatile immap_t *immr = (immap_t *)CONFIG_SYS_IMMR;
-
-       SPI_INIT;
-#endif
 }
 
 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,