aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-29 11:06:01 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 13:26:01 -0500
commitd81a32f2c16a3c42cf26f2216765c520630daa4e (patch)
treee238f8f2e8fde31517d4a459a7a7ee2238e1780e /drivers
parentee16f2af2d464ee4c040e571c225dcbb1ce4a7d3 (diff)
mtd: sst25l: kill unused variable
Fix the following gcc warning: drivers/mtd/devices/sst25l.c: In function ‘sst25l_probe’: drivers/mtd/devices/sst25l.c:381:11: warning: unused variable ‘i’ [-Wunused-variable] Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/devices/sst25l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c
index e45f62e8f195..5fc198350b94 100644
--- a/drivers/mtd/devices/sst25l.c
+++ b/drivers/mtd/devices/sst25l.c
@@ -378,7 +378,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
378 struct flash_info *flash_info; 378 struct flash_info *flash_info;
379 struct sst25l_flash *flash; 379 struct sst25l_flash *flash;
380 struct flash_platform_data *data; 380 struct flash_platform_data *data;
381 int ret, i; 381 int ret;
382 382
383 flash_info = sst25l_match_device(spi); 383 flash_info = sst25l_match_device(spi);
384 if (!flash_info) 384 if (!flash_info)