diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-21 22:59:58 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-21 18:21:17 +0000 |
commit | f0a71337be7f19cc929aabfffc3ecd4c056df03a (patch) | |
tree | 123d16a9aa34125ca597f3fc2e0684c3b97d45e1 /drivers/spi/spi-fsl-espi.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
spi: fsl-espi: Remove unused bits_per_word variable in fsl_espi_bufs
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 428dc7a6b62e..6fb2b75df821 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c @@ -219,13 +219,8 @@ static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t) struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); struct fsl_espi_reg *reg_base = mpc8xxx_spi->reg_base; unsigned int len = t->len; - u8 bits_per_word; int ret; - bits_per_word = spi->bits_per_word; - if (t->bits_per_word) - bits_per_word = t->bits_per_word; - mpc8xxx_spi->len = t->len; len = roundup(len, 4) / 4; |