Message ID | 1395413998.9974.3.camel@phoenix (mailing list archive) |
---|---|
State | Accepted |
Commit | f0a71337be7f19cc929aabfffc3ecd4c056df03a |
Headers | show |
On Fri, Mar 21, 2014 at 10:59:58PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Applied, thanks.
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 428dc7a..6fb2b75 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;
Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/spi/spi-fsl-espi.c | 5 ----- 1 file changed, 5 deletions(-)