aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Castillo <nelsoneci@gmail.com>2008-11-19 17:11:05 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:05 +0000
commit53baadbc52e90711c34280a999ca23894f9122f2 (patch)
tree577c0a6c6cc84ecf8d391be5cc935a7df08b90c6
parentf9694bdf94b1987a62692a5a40056b9a48eb2a74 (diff)
Fixing trivial warnings
Removed unused variable. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
-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;