aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-08-07 23:37:54 +0200
committerWolfgang Denk <wd@denx.de>2009-08-21 23:36:19 +0200
commita3c5057a6c05b4c7235a270486220e4511366133 (patch)
tree760a1e9ab2b7269855fbfdc3bc7559dd04da41d2
parent8cf19b9fec92d8aa22b2fe4b4e6976743b1daa51 (diff)
downloadu-boot-linaro-stable-a3c5057a6c05b4c7235a270486220e4511366133.tar.gz
eeprom_m95xxx: remove unused variable i
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--drivers/mtd/spi/eeprom_m95xxx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/spi/eeprom_m95xxx.c b/drivers/mtd/spi/eeprom_m95xxx.c
index 59f80e39f..0148d005e 100644
--- a/drivers/mtd/spi/eeprom_m95xxx.c
+++ b/drivers/mtd/spi/eeprom_m95xxx.c
@@ -71,7 +71,6 @@ ssize_t spi_read (uchar *addr, int alen, uchar *buffer, int len)
ssize_t spi_write (uchar *addr, int alen, uchar *buffer, int len)
{
struct spi_slave *slave;
- int i;
char buf[3];
slave = spi_setup_slave(CONFIG_DEFAULT_SPI_BUS, 1, 1000000,