summaryrefslogtreecommitdiff
path: root/drivers/mtd
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 /drivers/mtd
parent8cf19b9fec92d8aa22b2fe4b4e6976743b1daa51 (diff)
downloadu-boot-imx-a3c5057a6c05b4c7235a270486220e4511366133.zip
u-boot-imx-a3c5057a6c05b4c7235a270486220e4511366133.tar.gz
u-boot-imx-a3c5057a6c05b4c7235a270486220e4511366133.tar.bz2
eeprom_m95xxx: remove unused variable i
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd')
-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 59f80e3..0148d00 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,