diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-20 22:58:10 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-20 22:59:35 -0800 |
commit | e11fcc299f4a1a0461a3442ca13f8984d76c30ff (patch) | |
tree | 8f19589e7bc35d3f0afbccdeef497cabce85289f /src/lpc/ao_spi_lpc.c | |
parent | 4ed108fb86676daea17264d7159c2cff9ea7a6e4 (diff) |
altos: Clean up warnings for LPC products
Unused varibles, functions and parameters.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_spi_lpc.c')
-rw-r--r-- | src/lpc/ao_spi_lpc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lpc/ao_spi_lpc.c b/src/lpc/ao_spi_lpc.c index a889137c..e72b8286 100644 --- a/src/lpc/ao_spi_lpc.c +++ b/src/lpc/ao_spi_lpc.c @@ -21,8 +21,6 @@ static uint8_t ao_spi_mutex[LPC_NUM_SPI]; static struct lpc_ssp * const ao_lpc_ssp[LPC_NUM_SPI] = { &lpc_ssp0, &lpc_ssp1 }; -static uint8_t spi_dev_null; - #define tx_busy(lpc_ssp) (lpc_ssp->sr & ((1 << LPC_SSP_SR_BSY) | (1 << LPC_SSP_SR_TNF))) != (1 << LPC_SSP_SR_TNF) #define rx_busy(lpc_ssp) (lpc_ssp->sr & ((1 << LPC_SSP_SR_BSY) | (1 << LPC_SSP_SR_RNE))) != (1 << LPC_SSP_SR_RNE) |