diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-21 15:59:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-21 19:21:17 +0100 |
commit | f0a71337be7f19cc929aabfffc3ecd4c056df03a (patch) | |
tree | 123d16a9aa34125ca597f3fc2e0684c3b97d45e1 /drivers/spi | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-f0a71337be7f19cc929aabfffc3ecd4c056df03a.tar.xz linux-f0a71337be7f19cc929aabfffc3ecd4c056df03a.zip |
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 '')
-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; |