aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-lcm-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/glamo/glamo-lcm-spi.c')
-rw-r--r--drivers/mfd/glamo/glamo-lcm-spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/glamo/glamo-lcm-spi.c b/drivers/mfd/glamo/glamo-lcm-spi.c
index c8ff8a77e95..a7129fe798c 100644
--- a/drivers/mfd/glamo/glamo-lcm-spi.c
+++ b/drivers/mfd/glamo/glamo-lcm-spi.c
@@ -49,7 +49,6 @@ static inline struct glamo_spi *to_gs(struct spi_device *spi)
static int glamo_spi_setupxfer(struct spi_device *spi, struct spi_transfer *t)
{
- struct glamo_spi *gs = to_gs(spi);
unsigned int bpw;
bpw = t ? t->bits_per_word : spi->bits_per_word;