From: Axel Lin Date: Sat, 8 Feb 2014 15:12:20 +0000 (+0800) Subject: spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0fd73763350fee019cd35d8d4c3c384f6ee493a1;p=linux-beck.git spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c index 862ef30853d3..31b41445a85e 100644 --- a/drivers/spi/spi-octeon.c +++ b/drivers/spi/spi-octeon.c @@ -37,7 +37,6 @@ struct octeon_spi_setup { u32 max_speed_hz; u8 chip_select; u8 mode; - u8 bits_per_word; }; static void octeon_spi_wait_ready(struct octeon_spi *p) @@ -204,7 +203,6 @@ static struct octeon_spi_setup *octeon_spi_new_setup(struct spi_device *spi) setup->max_speed_hz = spi->max_speed_hz; setup->chip_select = spi->chip_select; setup->mode = spi->mode; - setup->bits_per_word = spi->bits_per_word; return setup; }