spi: remove unused prototype
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f4d2c46eb3
commit
4e411774c0
3
spi.c
3
spi.c
@ -399,8 +399,6 @@ struct spi_id spiId(struct ff_spi *spi) {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
uint32_t spiJedecId(struct ff_spi *spi);
|
||||
|
||||
int spiSetType(struct ff_spi *spi, enum spi_type type) {
|
||||
|
||||
@ -599,7 +597,6 @@ int spiInit(struct ff_spi *spi) {
|
||||
spi->state = SS_UNCONFIGURED;
|
||||
spi->type = ST_UNCONFIGURED;
|
||||
|
||||
|
||||
// Reset the SPI flash, which will return it to SPI mode even
|
||||
// if it's in QPI mode.
|
||||
spiReset(spi);
|
||||
|
Loading…
Reference in New Issue
Block a user